feat(nvim): Add go back (gb) shortcut for previous buffer

This commit is contained in:
Tanguy Herbron 2024-01-04 01:46:51 +01:00
parent 2022e7da39
commit 4f743cbe34

View File

@ -37,7 +37,8 @@ return {
vim.keymap.set('n', 'K', vim.lsp.buf.hover, {}) vim.keymap.set('n', 'K', vim.lsp.buf.hover, {})
vim.keymap.set('n', 'gd', vim.lsp.buf.definition, {}) vim.keymap.set('n', 'gd', vim.lsp.buf.definition, {})
vim.keymap.set({'n', 'v'} , '<leader>ca', vim.lsp.buf.code_action, {}) vim.keymap.set({'n', 'v'}, '<leader>ca', vim.lsp.buf.code_action, {})
vim.keymap.set('n', 'gb', ":b#<CR>")
end end
}, },
{ {