nvim: add buffer keymaps
This commit is contained in:
parent
c0d0aee138
commit
58af1e692a
|
@ -4,8 +4,13 @@ end
|
|||
|
||||
map('n', '<space>', '<nop>')
|
||||
|
||||
map('n', '<M-Left>', ':tabprevious<cr>')
|
||||
map('n', '<M-Right>', ':tabnext<cr>')
|
||||
vim.g.mapleader = ','
|
||||
|
||||
map('n', '<Leader>b', ':buffers<CR>:buffer<Space>')
|
||||
map('n', '<M-Left>', ':bprevious<cr>')
|
||||
map('n', '<M-Right>', ':bnext<cr>')
|
||||
map('n', '<M-S-Left>', ':tabprevious<cr>')
|
||||
map('n', '<M-S-Right>', ':tabnext<cr>')
|
||||
|
||||
map('n', '<M-BS>', 'db')
|
||||
vim.cmd([[map! <M-BS> <C-W>]]) -- TODO: figure out how to do that with lua
|
||||
|
|
Loading…
Reference in New Issue
Block a user