nvim : change mwu to mwx to unwrap macro.

This commit is contained in:
Dmitry Voronin 2023-11-02 21:37:11 +03:00
parent 823a153304
commit 8ff59d23c6

View file

@ -1,7 +1,7 @@
require("key/rekey") require("key/rekey")
-- wraps. -- wraps.
rekey_visual("mwu", "s<delete><backspace><esc>p") -- unwrap once (select only stuff inside). rekey_visual("mwx", "s<delete><backspace><esc>p") -- unwrap once (select only stuff inside).
rekey_visual("mw\"", "s\"\"<esc>P") -- wrap in "". rekey_visual("mw\"", "s\"\"<esc>P") -- wrap in "".
rekey_visual("mw3\"", "s\"\"\"\"\"\"<esc>hhP") -- wrap in 3x "". rekey_visual("mw3\"", "s\"\"\"\"\"\"<esc>hhP") -- wrap in 3x "".
rekey_visual("mw'", "s''<esc>P") -- wrap in "". rekey_visual("mw'", "s''<esc>P") -- wrap in "".