diff options
author | Adam <56338480+adastx@users.noreply.github.com> | 2022-03-10 16:16:49 +0100 |
---|---|---|
committer | Adam <56338480+adastx@users.noreply.github.com> | 2022-03-10 16:16:49 +0100 |
commit | 5a908c6cbcdba880f7f267c9a238c492d021ac0c (patch) | |
tree | 7afc03ada045e2e8baef24432debda4ba9f27466 /.config/nvim/lua | |
parent | ef3a8a886d1765a701fd6a143dccf088a905c487 (diff) |
(n)vim: leader+arrow window nav
Diffstat (limited to '.config/nvim/lua')
-rw-r--r-- | .config/nvim/lua/binds.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.config/nvim/lua/binds.lua b/.config/nvim/lua/binds.lua index 0e7ae96..7b5d3fe 100644 --- a/.config/nvim/lua/binds.lua +++ b/.config/nvim/lua/binds.lua @@ -24,6 +24,10 @@ 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('n', '<leader><left>', ':wincmd h<CR>', opts) +map('n', '<leader><down>', ':wincmd j<CR>', opts) +map('n', '<leader><up>', ':wincmd k<CR>', opts) +map('n', '<leader><right>', ':wincmd l<CR>', opts) map('n', '<leader>p', '<cmd>Telescope find_files<cr>', opts) map('n', '<leader>P', '<cmd>Telescope file_browser hidden=true<cr>', opts) |