feat(plugins): Add bufferline, remove rainbow ident-blankline

Added:
  - [bufferline.nvim](https://github.com/akinsho/bufferline.nvim)
  - Overseer status to lualine
Removed:
  - `{` and `}` keymaps for aerial (I like the default behavior more)
This commit is contained in:
Jiří Štefka 2024-09-24 21:42:42 +02:00
parent e256516fe7
commit 1441e90711
Signed by: jiriks74
GPG key ID: 1D5E30D3DB2264DE
6 changed files with 118 additions and 80 deletions
nvim/plugin

View file

@ -34,6 +34,7 @@ require('lualine').setup {
-- nvim-navic
-- { navic.get_location, cond = navic.is_available },
},
lualine_y = { "overseer" },
lualine_z = {
-- (see above)
{ extra_mode_status },
@ -41,48 +42,60 @@ require('lualine').setup {
},
options = {
theme = 'auto',
-- component_separators = { left = '', right = ''},
component_separators = { left = '', right = ''},
-- section_separators = { left = '', right = ''},
section_separators = { left = '', right = ''},
ignore_focus = {
"dapui_scopes",
"dapui_breakpoints",
"dapui_stacks",
"dapui_watches",
"dap-repl",
"dapui_console"
},
},
-- Example top tabline configuration (this may clash with other plugins)
tabline = {
-- lualine_a = {
-- {
-- 'tabs',
-- mode = 1,
-- },
-- },
-- lualine_b = {
lualine_a = {
{
'buffers',
show_filename_only = true,
show_bufnr = true,
mode = 4,
filetype_names = {
TelescopePrompt = 'Telescope',
dashboard = 'Dashboard',
fzf = 'FZF',
},
buffers_color = {
-- Same values as the general color option can be used here.
active = 'lualine_b_normal', -- Color for active buffer.
inactive = 'lualine_b_inactive', -- Color for inactive buffer.
},
},
},
lualine_c = {},
lualine_x = {},
lualine_y = {},
-- lualine_z = {}, -- Commented out so that buffers and file path are on the same line
-- tabline = {
-- lualine_a = {
-- {
-- 'tabs',
-- mode = 1,
-- },
-- },
-- lualine_b = {
-- lualine_a = {
-- {
-- 'buffers',
-- show_filename_only = true,
-- show_bufnr = true,
-- mode = 4,
-- filetype_names = {
-- TelescopePrompt = 'Telescope',
-- dashboard = 'Dashboard',
-- fzf = 'FZF',
-- },
-- buffers_color = {
-- -- Same values as the general color option can be used here.
-- active = 'lualine_b_normal', -- Color for active buffer.
-- inactive = 'lualine_b_inactive', -- Color for inactive buffer.
-- },
-- },
-- },
-- lualine_c = {},
-- lualine_x = {},
-- lualine_y = {},
-- -- lualine_z = {}, -- Commented out so that buffers and file path are on the same line
-- },
-- winbar = {
lualine_z = {
{
'filename',
path = 1,
file_status = true,
newfile_status = true,
},
},
},
-- lualine_z = {
-- {
-- 'filename',
-- path = 1,
-- file_status = true,
-- newfile_status = true,
-- },
-- },
-- },
extensions = { 'fugitive', 'fzf', 'toggleterm', 'quickfix' },
}