diff --git a/.README.md b/.README.md index fb87d68..5e3059f 100644 --- a/.README.md +++ b/.README.md @@ -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). diff --git a/.config/nvim/lua/key/macro.lua b/.config/nvim/lua/key/macro.lua index a542b61..3fc901f 100644 --- a/.config/nvim/lua/key/macro.lua +++ b/.config/nvim/lua/key/macro.lua @@ -14,6 +14,7 @@ rekey_visual("mw3`", "s``````hhP") -- wrap in 3x ``. rekey_visual("mw*", "s**P") -- wrap in **. rekey_visual("mw2*", "s****hP") -- wrap in 2x **. rekey_visual("mw3*", "s******hhP") -- wrap in 3x **. +rekey_visual("mw ", "s P") -- wrap in spaces. -- markdown. rekey_normal("mmx", ":s/- \\[ \\]/- \\[x\\]/") -- mark checkbox.