nvim : <Leader>z also saves all files.

This commit is contained in:
Dmitry Voronin 2023-10-17 20:32:15 +03:00
parent 99c75ffff5
commit fc90553669

View file

@ -2,7 +2,7 @@ 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>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.