nvim : add shortcuts to increase split sizes.
This commit is contained in:
parent
26e0dea207
commit
ef3a18c6c8
|
@ -2,7 +2,7 @@ require('key/rekey')
|
|||
|
||||
rekey_normal('<Leader>.', '@:') -- repeat command.
|
||||
rekey_visual('<Leader>.', '@:') -- repeat command.
|
||||
rekey_normal('zz', '<cmd>wa<cr>') -- save file.
|
||||
rekey_normal('zz', '<cmd>wa<cr>') -- save all files.
|
||||
rekey_normal('<Leader>z', '<cmd>wqa<cr>') -- save & quit all.
|
||||
rekey_normal('<Leader>v', 'v') -- visual select (duplicate).
|
||||
rekey_normal('gh', '0') -- go left.
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
require('key/rekey')
|
||||
|
||||
rekey_normal('_', '4<C-w><')
|
||||
rekey_normal('-', '2<C-w>-')
|
||||
rekey_normal('<Leader>=', '<C-w>=')
|
||||
rekey_normal('_', '2<C-w>+') -- increase split size vertically.
|
||||
rekey_normal('-', '2<C-w>-') -- decrease split size vertically.
|
||||
rekey_normal('|', '4<C-w>>') -- increase split size horizontally.
|
||||
rekey_normal('\\', '4<C-w><') -- decrease split size horizontally.
|
||||
rekey_normal('<Leader>=', '<C-w>=') -- equalize split sizes.
|
||||
|
|
Reference in a new issue