From 5bbb3c50ed63ec18822731d59d437172d629d9d6 Mon Sep 17 00:00:00 2001 From: adam <56338480+adastx@users.noreply.github.com> Date: Fri, 28 Oct 2022 18:46:15 +0200 Subject: nvim: simple buffer bindings --- .config/nvim/lua/mappings.lua | 5 +++++ 1 file changed, 5 insertions(+) (limited to '.config') 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', 'xN', 'lua vim.diagnostic.goto_prev()', opts) map('n', 'xx', 'Telescope lsp_code_actions', opts) map('n', 'xX', 'Telescope lsp_range_code_actions', opts) +map('n', ']b', ':bnext', opts) +map('n', '[b', ':bprevious', opts) +map('n', '[B', ':bfirst', opts) +map('n', ']B', ':blast', opts) + map('n', 'co', ':cwindow', opts) map('n', ']q', ':cnext', opts) map('n', '[q', ':cprevious', opts) -- cgit v1.2.3-70-g09d2