nvim : add extra leader combos to match system.
This commit is contained in:
parent
b26bd2194f
commit
961e1d6291
|
@ -1,12 +1,14 @@
|
||||||
require('key/rekey')
|
require('key/rekey')
|
||||||
|
|
||||||
rekey_normal('<Leader>.', '@:') -- repeat command.
|
rekey_normal('<Leader>.', '@:') -- repeat command. NOTE: is this the same as Q ?
|
||||||
rekey_normal('zz', '<cmd>wa<cr>') -- save file.
|
rekey_normal('zz', '<cmd>w<cr>') -- save file.
|
||||||
rekey_normal('gh', '0') -- go left.
|
rekey_normal('<Leader>z', '<cmd>qa<cr>') -- quit all.
|
||||||
rekey_normal('gl', '$') -- go right.
|
rekey_normal('<Leader>v', 'v') -- visual select (duplicate).
|
||||||
rekey_normal('gj', 'G') -- go bottom.
|
rekey_normal('gh', '0') -- go left.
|
||||||
rekey_normal('gk', 'gg') -- go top.
|
rekey_normal('gl', '$') -- go right.
|
||||||
rekey_normal('U', '<C-r>') -- redo.
|
rekey_normal('gj', 'G') -- go bottom.
|
||||||
|
rekey_normal('gk', 'gg') -- go top.
|
||||||
|
rekey_normal('U', '<C-r>') -- redo.
|
||||||
|
|
||||||
rekey_normal(';', ':') -- remap ; to :.
|
rekey_normal(';', ':') -- remap ; to :.
|
||||||
rekey_visual(';', ':') -- remap ; to :.
|
rekey_visual(';', ':') -- remap ; to :.
|
||||||
|
|
Reference in a new issue