nvim : improve mmc macro.
This commit is contained in:
parent
8eec278521
commit
a6b0c52e9f
|
@ -23,7 +23,7 @@ rekey_visual('mmb', 's****<esc>hP') -- make bold.
|
|||
rekey_visual('mmi', 's**<esc>P') -- make italic.
|
||||
rekey_visual('mms', 's~~~~<esc>hP') -- make strikethrough.
|
||||
rekey_visual('mmr', 's``<esc>P') -- wrap in `` (reference).
|
||||
rekey_visual('mmc', 's``````<esc>hhP') -- wrap in 3x `` (code).
|
||||
rekey_visual('mmc', 's``````<esc>hhPa<cr><cr><esc><up>') -- wrap in 3x `` (code).
|
||||
-- rekey_visual('mm>', ':s/^')
|
||||
-- rekey_visual('mm<', '')
|
||||
-- rekey_normal('mm>', '')
|
||||
|
|
Reference in a new issue