nvim : remap ; to : for visual, too.
This commit is contained in:
parent
b54b463285
commit
f0c4f3fef8
|
@ -1,10 +1,12 @@
|
|||
require('key/rekey')
|
||||
|
||||
rekey_normal('<Leader>.', '@:') -- repeat command.
|
||||
rekey_normal(';', ':') -- remap ; to :.
|
||||
rekey_normal('zz', '<cmd>wa<cr>') -- save file.
|
||||
rekey_normal('gh', '0') -- go left.
|
||||
rekey_normal('gl', '$') -- go right.
|
||||
rekey_normal('gj', 'G') -- go bottom.
|
||||
rekey_normal('gk', 'gg') -- go top.
|
||||
rekey_normal('U', '<C-r>') -- redo.
|
||||
|
||||
rekey_normal(';', ':') -- remap ; to :.
|
||||
rekey_visual(';', ':') -- remap ; to :.
|
||||
|
|
Reference in a new issue