nvim : remap ; to : for visual, too.

This commit is contained in:
Dmitry Voronin 2023-10-03 06:46:55 +03:00
parent b54b463285
commit f0c4f3fef8

View file

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