Files
dotfiles/lua/plugins/bufferline.lua
Mikhail Kilin 7213bec4dc Initial neovim config
Lazy.nvim plugin manager, LSP (rust-analyzer, clangd, ts_ls, zls),
treesitter, telescope, bufferline, neo-tree, gitsigns, lazygit,
alabaster theme, persistence sessions, nvim-cmp, lualine, which-key.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 23:40:37 +03:00

20 lines
518 B
Lua

return {
"akinsho/bufferline.nvim",
dependencies = { "nvim-tree/nvim-web-devicons" },
lazy = false,
opts = {
options = {
diagnostics = "nvim_lsp",
offsets = {
{ filetype = "neo-tree", text = "Explorer", separator = true },
},
show_close_icon = false,
separator_style = "thin",
},
},
keys = {
{ "<leader>bp", "<cmd>BufferLineTogglePin<cr>", desc = "Pin buffer" },
{ "<leader>bo", "<cmd>BufferLineCloseOthers<cr>", desc = "Close other buffers" },
},
}