neogit & trouble keys

This commit is contained in:
unknown
2025-01-07 10:48:10 +08:00
parent 2ce4a97439
commit dc9ef486f0
2 changed files with 19 additions and 6 deletions
+12
View File
@@ -106,6 +106,11 @@ return {
"folke/trouble.nvim",
opts = {}, -- for default options, refer to the configuration section for custom setup.
cmd = "Trouble",
config = function()
vim.keymap.set("n", "<leader>ct", function()
vim.cmd [[Trouble diagnostics]]
end, { desc = "Run Trouble Diagnostics" })
end
}, {
"aznhe21/actions-preview.nvim",
config = function()
@@ -134,5 +139,12 @@ return {
max_tokens = 4096,
},
}
}, {
"NeogitOrg/neogit",
config = function()
vim.keymap.set("n", "<leader>G", function()
vim.cmd [[Neogit]]
end, { desc = "Run Neogit" })
end
}
}