nvim : <Leader>z also saves all files.
This commit is contained in:
parent
99c75ffff5
commit
fc90553669
|
@ -1,14 +1,14 @@
|
|||
require('key/rekey')
|
||||
|
||||
rekey_normal('<Leader>.', '@:') -- repeat command. NOTE: is this the same as Q ?
|
||||
rekey_normal('zz', '<cmd>wa<cr>') -- save file.
|
||||
rekey_normal('<Leader>z', '<cmd>qa<cr>') -- quit all.
|
||||
rekey_normal('<Leader>v', 'v') -- visual select (duplicate).
|
||||
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('<Leader>.', '@:') -- repeat command. NOTE: is this the same as Q ?
|
||||
rekey_normal('zz', '<cmd>wa<cr>') -- save file.
|
||||
rekey_normal('<Leader>z', '<cmd>wqa<cr>') -- save & quit all.
|
||||
rekey_normal('<Leader>v', 'v') -- visual select (duplicate).
|
||||
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