Compare commits

..

No commits in common. "0ee6fb54cd66b763018f74295de96c713c060726" and "c69a88e20f60efdf4dabd4472b88aaa404cb5982" have entirely different histories.

3 changed files with 6 additions and 70 deletions

View File

@ -125,14 +125,6 @@ local keymaps = {
cmd = '<ScrollWheelLeft>', cmd = '<ScrollWheelLeft>',
desc = "Scroll leftways" desc = "Scroll leftways"
}, },
{
mode = { 'i', 'n', 'v' },
keys = '<C-b>',
cmd = function()
vim.cmd('Neotree toggle')
end,
desc = "Toggle neotree"
},
-- --
-- Tab (barbar) controls -- Tab (barbar) controls
-- .............................................. -- ..............................................

View File

@ -1,34 +0,0 @@
--
-- IDE-like breadcrumbs
--
-- Source: https://github.com/Bekaboo/dropbar.nvim
-- ..............................................
--
-- Author: Sven Vogel
-- Created: 10.11.2024
-- Edited: 10.11.2024
--
-- ==============================================
local ui = require 'config.ui'
return {
{
'Bekaboo/dropbar.nvim',
dependencies = {
"nvim-tree/nvim-web-devicons",
"onsails/lspkind.nvim"
},
opts = {
menu = {
preview = false,
scrollbar = {
enable = false
},
win_configs = {
border = ui.border
}
}
}
}
}

View File

@ -19,24 +19,11 @@ return {
dependencies = { dependencies = {
"nvim-lua/plenary.nvim", "nvim-lua/plenary.nvim",
"nvim-tree/nvim-web-devicons", "nvim-tree/nvim-web-devicons",
"MunifTanjim/nui.nvim", "MunifTanjim/nui.nvim"
--
-- List language server diagnostics
--
-- Source: https://github.com/mrbjarksen/neo-tree-diagnostics.nvim
-- ..............................................
--
'mrbjarksen/neo-tree-diagnostics.nvim'
}, },
cmd = "Neotree", cmd = "Neotree",
opts = { opts = {
popup_border_style = ui.border, popup_border_style = ui.border,
sources = {
"filesystem",
"document_symbols",
"git_status",
"diagnostics"
},
source_selector = { source_selector = {
winbar = true, winbar = true,
statusline = false, statusline = false,
@ -46,24 +33,15 @@ return {
display_name = " 󰉓 Files " display_name = " 󰉓 Files "
}, },
{ {
source = "document_symbols", source = "buffers",
display_name = "  Symbols " display_name = " 󰈚 Buffers "
}, },
{ {
source = "diagnostics", source = "document_symbols",
display_name = "  Diagnostics " display_name = " 󰊢 Git "
} },
}, },
}, },
diagnostics = {
follow_current_file = { -- May also be set to `true` or `false`
enabled = true, -- This will find and focus the file in the active buffer every time
always_focus_file = false, -- Focus the followed file, even when focus is currently on a diagnostic item belonging to that file
expand_followed = true, -- Ensure the node of the followed file is expanded
leave_dirs_open = true, -- `false` closes auto expanded dirs, such as with `:Neotree reveal`
leave_files_open = true, -- `false` closes auto expanded files, such as with `:Neotree reveal`
}
},
filesystem = { filesystem = {
bind_to_cwd = false, bind_to_cwd = false,
follow_current_file = { enabled = true }, follow_current_file = { enabled = true },