diff options
author | Adam <56338480+adastx@users.noreply.github.com> | 2021-10-06 21:14:27 +0200 |
---|---|---|
committer | Adam <56338480+adastx@users.noreply.github.com> | 2021-10-06 21:14:27 +0200 |
commit | 41a4234947f3bce693b14c398264414fe5143baf (patch) | |
tree | 3075e99c314846ff56cbcb56475929c831638a71 /.config/nvim | |
parent | 75cd1b1d816207bcff0609c2a3930d1720f30740 (diff) |
Vim added binds for switching windows
Diffstat (limited to '.config/nvim')
-rw-r--r-- | .config/nvim/lua/binds.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.config/nvim/lua/binds.lua b/.config/nvim/lua/binds.lua index 55225d4..72cd58e 100644 --- a/.config/nvim/lua/binds.lua +++ b/.config/nvim/lua/binds.lua @@ -9,6 +9,11 @@ map('n', '<C-L>', ':nohl<CR><C-L>', opts) map('n', 'n', 'nzzzv', opts) map('n', 'N', 'Nzzzv', opts) +map('n', '<leader>h', ':wincmd h<CR>', opts) +map('n', '<leader>j', ':wincmd j<CR>', opts) +map('n', '<leader>k', ':wincmd k<CR>', opts) +map('n', '<leader>l', ':wincmd l<CR>', opts) + map('i', 'kj', '<Esc>', opts) map('i', ',', ',<c-g>u', opts) map('i', '.', '.<c-g>u', opts) |