From 5c35466664562ecec90af9ca73d001864faaaa95 Mon Sep 17 00:00:00 2001 From: Samuel O'Neal Date: Wed, 13 May 2026 14:11:26 -0600 Subject: [PATCH] updates to the editor and removed conflicting markdown plugin --- lua/plugins/editor.lua | 63 +++++++++++++++++++++++++++++++--------- lua/plugins/markdown.lua | 7 ----- 2 files changed, 49 insertions(+), 21 deletions(-) delete mode 100644 lua/plugins/markdown.lua diff --git a/lua/plugins/editor.lua b/lua/plugins/editor.lua index f898f6b..7863e5d 100644 --- a/lua/plugins/editor.lua +++ b/lua/plugins/editor.lua @@ -33,7 +33,12 @@ return { lazygit = { enabled = true, }, + input = { + enabled = true, + }, picker = { + enabled = true, + ui_select = true, sources = { explorer = { -- Explorer picker configuration @@ -60,13 +65,43 @@ return { }, keys = { -- Ctrl+Shift+e - Toggle explorer - { "", function() Snacks.explorer() end, desc = "Toggle Explorer" }, + { + "", + function() + Snacks.explorer() + end, + desc = "Toggle Explorer", + }, -- Alternative binding if terminal doesn't handle Ctrl+Shift - { "fe", function() Snacks.explorer() end, desc = "File Explorer" }, + { + "fe", + function() + Snacks.explorer() + end, + desc = "File Explorer", + }, -- Lazygit - { "gg", function() Snacks.lazygit() end, desc = "Lazygit" }, - { "gl", function() Snacks.lazygit.log() end, desc = "Lazygit Log" }, - { "gf", function() Snacks.lazygit.log_file() end, desc = "Lazygit File History" }, + { + "gg", + function() + Snacks.lazygit() + end, + desc = "Lazygit", + }, + { + "gl", + function() + Snacks.lazygit.log() + end, + desc = "Lazygit Log", + }, + { + "gf", + function() + Snacks.lazygit.log_file() + end, + desc = "Lazygit File History", + }, }, }, @@ -159,14 +194,14 @@ return { -- Help comment and uncomment lines { - 'numToStr/Comment.nvim', + "numToStr/Comment.nvim", opts = { padding = true, - + -- LHS of toggle mappings in NORMAL mode toggler = { - line = 'gcc', - block = 'gbc', + line = "gcc", + block = "gbc", }, -- LHS of operator-pending mappings in NORMAL and VISUAL @@ -178,11 +213,11 @@ return { -- LHS of extra mappings extra = { -- Add comment on the line above - above = 'gcO', - -- Add comment on the line below - below = 'gco', - -- Add comment at the end of line - eol = 'gcA', + above = "gcO", + -- Add comment on the line below + below = "gco", + -- Add comment at the end of line + eol = "gcA", }, mappings = { basic = true, diff --git a/lua/plugins/markdown.lua b/lua/plugins/markdown.lua deleted file mode 100644 index f14ba73..0000000 --- a/lua/plugins/markdown.lua +++ /dev/null @@ -1,7 +0,0 @@ -return { - "OXY2DEV/markview.nvim", - lazy = false, - dependencies = { - "saghen/blink.cmp", - }, -}