mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-22 08:53:33 +02:00
refactor: cleanup keymaps and fixed bnext/bprev when bufferline is disabled
This commit is contained in:
parent
06107862a7
commit
2ea489c7ba
3 changed files with 40 additions and 33 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue