refactor: cleanup keymaps and fixed bnext/bprev when bufferline is disabled
This commit is contained in:
@ -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",
|
||||
|
Reference in New Issue
Block a user