diff --git a/.config/nvim/lua/key/common.lua b/.config/nvim/lua/key/common.lua index 6765903..7f3330b 100644 --- a/.config/nvim/lua/key/common.lua +++ b/.config/nvim/lua/key/common.lua @@ -2,7 +2,7 @@ require('key/rekey') rekey_normal('.', '@:') -- repeat command. rekey_visual('.', '@:') -- repeat command. -rekey_normal('zz', 'wa') -- save file. +rekey_normal('zz', 'wa') -- save all files. rekey_normal('z', 'wqa') -- save & quit all. rekey_normal('v', 'v') -- visual select (duplicate). rekey_normal('gh', '0') -- go left. diff --git a/.config/nvim/lua/key/window.lua b/.config/nvim/lua/key/window.lua index 13fe088..241f884 100644 --- a/.config/nvim/lua/key/window.lua +++ b/.config/nvim/lua/key/window.lua @@ -1,5 +1,7 @@ require('key/rekey') -rekey_normal('_', '4<') -rekey_normal('-', '2-') -rekey_normal('=', '=') +rekey_normal('_', '2+') -- increase split size vertically. +rekey_normal('-', '2-') -- decrease split size vertically. +rekey_normal('|', '4>') -- increase split size horizontally. +rekey_normal('\\', '4<') -- decrease split size horizontally. +rekey_normal('=', '=') -- equalize split sizes.