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>
This commit is contained in:
19
lua/plugins/bufferline.lua
Normal file
19
lua/plugins/bufferline.lua
Normal file
@@ -0,0 +1,19 @@
|
||||
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" },
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user