diff options
author | adam <56338480+adastx@users.noreply.github.com> | 2022-10-28 18:46:15 +0200 |
---|---|---|
committer | adam <56338480+adastx@users.noreply.github.com> | 2022-10-28 18:46:15 +0200 |
commit | 5bbb3c50ed63ec18822731d59d437172d629d9d6 (patch) | |
tree | 9794f01c274bffa80671e205b61e32e2672ca162 /.config/nvim/lua | |
parent | 6f40d8215abd90e05e4eebc8ee48197c987a3d9c (diff) |
nvim: simple buffer bindings
Diffstat (limited to '.config/nvim/lua')
-rw-r--r-- | .config/nvim/lua/mappings.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.config/nvim/lua/mappings.lua b/.config/nvim/lua/mappings.lua index 2d1222c..acbb748 100644 --- a/.config/nvim/lua/mappings.lua +++ b/.config/nvim/lua/mappings.lua @@ -48,6 +48,11 @@ map('n', '<leader>xN', '<cmd>lua vim.diagnostic.goto_prev()<cr>', opts) map('n', '<leader>xx', '<cmd>Telescope lsp_code_actions<cr>', opts) map('n', '<leader>xX', '<cmd>Telescope lsp_range_code_actions<cr>', opts) +map('n', ']b', ':bnext<CR>', opts) +map('n', '[b', ':bprevious<CR>', opts) +map('n', '[B', ':bfirst<CR>', opts) +map('n', ']B', ':blast<CR>', opts) + map('n', '<leader>co', ':cwindow<CR>', opts) map('n', ']q', ':cnext<CR>', opts) map('n', '[q', ':cprevious<CR>', opts) |