Add keymap for bnext and bprev
This commit is contained in:
parent
e80b00ecb7
commit
7321c08fb5
4
init.lua
4
init.lua
|
@ -70,6 +70,10 @@ vim.keymap.set('n', '<Esc>', '<cmd>nohlsearch<CR>')
|
|||
-- file browser
|
||||
vim.keymap.set('n', '<leader>pv', '<cmd>Ex<CR>')
|
||||
|
||||
-- switch between buffers
|
||||
vim.keymap.set('n', '<A-n>', '<cmd>bnext<CR>')
|
||||
vim.keymap.set('n', '<A-p>', '<cmd>bprev<CR>')
|
||||
|
||||
|
||||
-- BASIC AUTOCOMMANDS --
|
||||
vim.api.nvim_create_autocmd('TextYankPost', {
|
||||
|
|
Loading…
Reference in New Issue
Block a user