updates to the editor and removed conflicting markdown plugin

This commit is contained in:
2026-05-13 14:11:26 -06:00
parent 049a10e60e
commit 5c35466664
2 changed files with 49 additions and 21 deletions

View File

@@ -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
{ "<C-S-e>", function() Snacks.explorer() end, desc = "Toggle Explorer" },
{
"<C-S-e>",
function()
Snacks.explorer()
end,
desc = "Toggle Explorer",
},
-- Alternative binding if terminal doesn't handle Ctrl+Shift
{ "<leader>fe", function() Snacks.explorer() end, desc = "File Explorer" },
{
"<leader>fe",
function()
Snacks.explorer()
end,
desc = "File Explorer",
},
-- Lazygit
{ "<leader>gg", function() Snacks.lazygit() end, desc = "Lazygit" },
{ "<leader>gl", function() Snacks.lazygit.log() end, desc = "Lazygit Log" },
{ "<leader>gf", function() Snacks.lazygit.log_file() end, desc = "Lazygit File History" },
{
"<leader>gg",
function()
Snacks.lazygit()
end,
desc = "Lazygit",
},
{
"<leader>gl",
function()
Snacks.lazygit.log()
end,
desc = "Lazygit Log",
},
{
"<leader>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,