updates to the editor and removed conflicting markdown plugin
This commit is contained in:
@@ -33,7 +33,12 @@ return {
|
|||||||
lazygit = {
|
lazygit = {
|
||||||
enabled = true,
|
enabled = true,
|
||||||
},
|
},
|
||||||
|
input = {
|
||||||
|
enabled = true,
|
||||||
|
},
|
||||||
picker = {
|
picker = {
|
||||||
|
enabled = true,
|
||||||
|
ui_select = true,
|
||||||
sources = {
|
sources = {
|
||||||
explorer = {
|
explorer = {
|
||||||
-- Explorer picker configuration
|
-- Explorer picker configuration
|
||||||
@@ -60,13 +65,43 @@ return {
|
|||||||
},
|
},
|
||||||
keys = {
|
keys = {
|
||||||
-- Ctrl+Shift+e - Toggle explorer
|
-- 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
|
-- 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
|
-- Lazygit
|
||||||
{ "<leader>gg", function() Snacks.lazygit() end, desc = "Lazygit" },
|
{
|
||||||
{ "<leader>gl", function() Snacks.lazygit.log() end, desc = "Lazygit Log" },
|
"<leader>gg",
|
||||||
{ "<leader>gf", function() Snacks.lazygit.log_file() end, desc = "Lazygit File History" },
|
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
|
-- Help comment and uncomment lines
|
||||||
{
|
{
|
||||||
'numToStr/Comment.nvim',
|
"numToStr/Comment.nvim",
|
||||||
opts = {
|
opts = {
|
||||||
padding = true,
|
padding = true,
|
||||||
|
|
||||||
-- LHS of toggle mappings in NORMAL mode
|
-- LHS of toggle mappings in NORMAL mode
|
||||||
toggler = {
|
toggler = {
|
||||||
line = 'gcc',
|
line = "gcc",
|
||||||
block = 'gbc',
|
block = "gbc",
|
||||||
},
|
},
|
||||||
|
|
||||||
-- LHS of operator-pending mappings in NORMAL and VISUAL
|
-- LHS of operator-pending mappings in NORMAL and VISUAL
|
||||||
@@ -178,11 +213,11 @@ return {
|
|||||||
-- LHS of extra mappings
|
-- LHS of extra mappings
|
||||||
extra = {
|
extra = {
|
||||||
-- Add comment on the line above
|
-- Add comment on the line above
|
||||||
above = 'gcO',
|
above = "gcO",
|
||||||
-- Add comment on the line below
|
-- Add comment on the line below
|
||||||
below = 'gco',
|
below = "gco",
|
||||||
-- Add comment at the end of line
|
-- Add comment at the end of line
|
||||||
eol = 'gcA',
|
eol = "gcA",
|
||||||
},
|
},
|
||||||
mappings = {
|
mappings = {
|
||||||
basic = true,
|
basic = true,
|
||||||
|
|||||||
@@ -1,7 +0,0 @@
|
|||||||
return {
|
|
||||||
"OXY2DEV/markview.nvim",
|
|
||||||
lazy = false,
|
|
||||||
dependencies = {
|
|
||||||
"saghen/blink.cmp",
|
|
||||||
},
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user