Add buffer cycling
This commit is contained in:
parent
d2b365cdc1
commit
b3ff9f8a70
1 changed files with 3 additions and 0 deletions
|
@ -49,6 +49,9 @@ function map(mode, lhs, rhs, opts)
|
||||||
end
|
end
|
||||||
vim.api.nvim_set_keymap(mode, lhs, rhs, options)
|
vim.api.nvim_set_keymap(mode, lhs, rhs, options)
|
||||||
end
|
end
|
||||||
|
---- Cycling through buffers
|
||||||
|
map('n', '<C-h>', ':bprev<cr>', { noremap = true })
|
||||||
|
map('n', '<C-l>', ':bnext<cr>', { noremap = true })
|
||||||
---- NERDTree
|
---- NERDTree
|
||||||
map('n', '<S-w>', ':NERDTreeToggle<cr>', { noremap = true })
|
map('n', '<S-w>', ':NERDTreeToggle<cr>', { noremap = true })
|
||||||
map('n', '<S-q>', ':NERDTreeClose<cr>', { noremap = true })
|
map('n', '<S-q>', ':NERDTreeClose<cr>', { noremap = true })
|
||||||
|
|
Loading…
Reference in a new issue