nvim : add mm<Space> macro.

This commit is contained in:
Dmitry Voronin 2023-11-18 06:27:38 +03:00
parent df017f09b1
commit c7bec1b445
2 changed files with 2 additions and 0 deletions

View file

@ -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).

View file

@ -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.