nvim : add mm<Space> macro.
This commit is contained in:
parent
df017f09b1
commit
c7bec1b445
|
@ -215,6 +215,7 @@ Visual|`` mw3` ``|Wrap selection in 3x \`.
|
|||
Visual|`mw*`|Wrap selection in *.
|
||||
Visual|`mw2*`|Wrap selection in 2x *.
|
||||
Visual|`mw3*`|Wrap selection in 3x *.
|
||||
Visual|`mw `|Wrap selection in spaces.
|
||||
Normal, Visual|`mmx`|Markdown: set - [ ] as completed.
|
||||
Normal, Visual|`mm `|Markdown: set - [x] as not completed.
|
||||
Normal|`mmp`|Markdown: insert paragrapg (2x non-breakable spaces).
|
||||
|
|
|
@ -14,6 +14,7 @@ rekey_visual("mw3`", "s``````<esc>hhP") -- wrap in 3x ``.
|
|||
rekey_visual("mw*", "s**<esc>P") -- wrap in **.
|
||||
rekey_visual("mw2*", "s****<esc>hP") -- wrap in 2x **.
|
||||
rekey_visual("mw3*", "s******<esc>hhP") -- wrap in 3x **.
|
||||
rekey_visual("mw ", "s <esc>P") -- wrap in spaces.
|
||||
|
||||
-- markdown.
|
||||
rekey_normal("mmx", ":s/- \\[ \\]/- \\[x\\]<C-l>/<cr>") -- mark checkbox.
|
||||
|
|
Reference in a new issue