refactor: cleanup keymaps and fixed bnext/bprev when bufferline is disabled

This commit is contained in:
Folke Lemaitre committed 2023-01-11 16:14:18 +01:00
1 parent 06107862a7
commit 2ea489c7ba
3 files changed
+40 -33

No files matched your search

+4
View File
@@ -43,6 +43,10 @@ return {
{
"akinsho/nvim-bufferline.lua",
event = "VeryLazy",
init = function()
vim.keymap.set("n", "<s-h>", "<cmd>BufferLineCyclePrev<cr>", { desc = "Prev Buffer" })
vim.keymap.set("n", "<s-l>", "<cmd>BufferLineCycleNext<cr>", { desc = "Next Buffer" })
end,
opts = {
options = {
diagnostics = "nvim_lsp",