You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lua/motioncoach-nvim/suggestions/beginner/beginner.lua
+4-11Lines changed: 4 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -68,9 +68,7 @@ function M.suggest(episode, context)
68
68
ifabsLineDelta==0andabsColDelta>=7then
69
69
iflongMsgthen
70
70
return[[
71
-
--Horizontal Jump--
72
-
73
-
For long horizontal moves:
71
+
For long horizontal motions:
74
72
75
73
` w ` to next word
76
74
` W ` to next word (ignoring special characters)
@@ -84,9 +82,8 @@ function M.suggest(episode, context)
84
82
can prefix a "count" to any of the above ( eg. ` 16w ` )
85
83
]]
86
84
else
87
-
return'Try ` 0 ` to jump to start of line'
85
+
return'For long horizontal moves:\n ` w ` or ` b ` or ` e `\n ( ` W ` or ` B ` or ` E `\n Or Can prefix count (` 8h ` or ` 16l `)'
88
86
end
89
-
return'For long horizontal moves, you can move by words with:\n ` w ` or ` b ` or ` e `\n ( ` W ` or ` B ` or ` E `\n Or Can prefix count (` 8h ` or ` 16l `)'
90
87
end
91
88
92
89
-------------------- VERTICAL MOTIONS
@@ -103,8 +100,6 @@ function M.suggest(episode, context)
103
100
end
104
101
end
105
102
106
-
-- vim.notify(vim.inspect(recentKeys))
107
-
108
103
-- TODO: make user configurable 6 and 60
109
104
ifabsLineDelta>=6andabsLineDelta<60then
110
105
localmotion= (lineDelta>0) and'j' or'k'
@@ -127,15 +122,13 @@ function M.suggest(episode, context)
0 commit comments