Something went wrong. Try again.
My NixVim configuration
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110{ plugins = { bufferline = { enable = true; settings = { options = { diagnostics = "nvim_lsp"; mode = "buffers";
close_icon = " "; buffer_close_icon = " "; modified_icon = " ";
offsets = [ { filetype = "neo-tree"; text = "Neo-tree"; highlight = "Directory"; text_align = "left"; } ]; }; }; }; };
keymaps = [ { mode = "n"; key = "]b"; action = "<cmd>BufferLineCycleNext<cr>"; options = { desc = "Cycle to next buffer"; }; }
{ mode = "n"; key = "[b"; action = "<cmd>BufferLineCyclePrev<cr>"; options = { desc = "Cycle to previous buffer"; }; }
{ mode = "n"; key = "<S-l>"; action = "<cmd>BufferLineCycleNext<cr>"; options = { desc = "Cycle to next buffer"; }; }
{ mode = "n"; key = "<S-h>"; action = "<cmd>BufferLineCyclePrev<cr>"; options = { desc = "Cycle to previous buffer"; }; }
{ mode = "n"; key = "<leader>bd"; action = "<cmd>bdelete<cr>"; options = { desc = "Delete buffer"; }; }
{ mode = "n"; key = "<leader>bl"; action = "<cmd>BufferLineCloseLeft<cr>"; options = { desc = "Delete buffers to the left"; }; }
{ mode = "n"; key = "<leader>bo"; action = "<cmd>BufferLineCloseOthers<cr>"; options = { desc = "Delete other buffers"; }; }
{ mode = "n"; key = "<leader>bp"; action = "<cmd>BufferLineTogglePin<cr>"; options = { desc = "Toggle pin"; }; }
{ mode = "n"; key = "<leader>bP"; action = "<Cmd>BufferLineGroupClose ungrouped<CR>"; options = { desc = "Delete non-pinned buffers"; }; } ];}