diff options
Diffstat (limited to '.config/nvim/lua/custom/plugins')
| -rw-r--r-- | .config/nvim/lua/custom/plugins/TODO-edgy.lua | 38 | ||||
| -rw-r--r-- | .config/nvim/lua/custom/plugins/edgy.lua | 5 | ||||
| -rw-r--r-- | .config/nvim/lua/custom/plugins/utility.lua | 6 |
3 files changed, 7 insertions, 42 deletions
diff --git a/.config/nvim/lua/custom/plugins/TODO-edgy.lua b/.config/nvim/lua/custom/plugins/TODO-edgy.lua deleted file mode 100644 index 05f0b98..0000000 --- a/.config/nvim/lua/custom/plugins/TODO-edgy.lua +++ /dev/null @@ -1,38 +0,0 @@ -return { - 'folke/edgy.nvim', - event = 'VeryLazy', - opts = { - bottom = { - 'Trouble', - { ft = 'qf', title = 'QuickFix' }, - { - ft = 'help', - size = { height = 20 }, - filter = function(buf) -- only show help buffers - return vim.bo[buf].buftype == 'help' - end, - }, - -- TODO: Add spectral - -- { ft = 'spectre_panel', size = { height = 0.4 } }, - }, - left = { - { - title = 'Neo-Tree', - ft = 'neo-tree', - filter = function(buf) - return vim.b[buf].neo_tree_source == 'filesystem' - end, - size = { height = 0.5 }, - }, - { - title = 'Neo-Tree Git', - ft = 'neo-tree', - filter = function(buf) - return vim.b[buf].neo_tree_source == 'git_status' - end, - pinned = true, - open = 'Neotree position=right git_status', - }, - }, - }, -} diff --git a/.config/nvim/lua/custom/plugins/edgy.lua b/.config/nvim/lua/custom/plugins/edgy.lua index 05f0b98..7f01245 100644 --- a/.config/nvim/lua/custom/plugins/edgy.lua +++ b/.config/nvim/lua/custom/plugins/edgy.lua @@ -4,7 +4,7 @@ return { opts = { bottom = { 'Trouble', - { ft = 'qf', title = 'QuickFix' }, + { ft = 'qf', title = 'QuickFix' }, { ft = 'help', size = { height = 20 }, @@ -12,8 +12,7 @@ return { return vim.bo[buf].buftype == 'help' end, }, - -- TODO: Add spectral - -- { ft = 'spectre_panel', size = { height = 0.4 } }, + { ft = 'spectre_panel', size = { height = 0.4 } }, }, left = { { diff --git a/.config/nvim/lua/custom/plugins/utility.lua b/.config/nvim/lua/custom/plugins/utility.lua index fe23cda..41f2925 100644 --- a/.config/nvim/lua/custom/plugins/utility.lua +++ b/.config/nvim/lua/custom/plugins/utility.lua @@ -50,11 +50,15 @@ return { vim.g.undotree_DiffAutoOpen = false vim.g.undotree_DiffpanelHeight = 0 vim.g.undotree_SetFocusWhenToggle = false - vim.g.undotree_HelpLine = false + vim.g.undotree_HelpLine = false vim.g.undotree_TreeNodeShape = '' vim.g.undotree_TreeVertShape = '│' vim.g.undotree_TreeSplitShape = '─┘' vim.g.undotree_TreeReturnShape = '─┐' end, }, + -- NOTE: No keybindings, use `:Spectre` or `:Spectre <file>` + -- Spectre has no undo, so it should be rarely used, + -- which is why no keybindings are defined + { 'nvim-pack/nvim-spectre', }, } |
