Compare commits

...

2 Commits

Author SHA1 Message Date
hakase 44a0ad24f1 🔥 removed neogit 2024-09-05 08:04:59 -05:00
hakase 6fe552e3dc feat: add lazygit 2024-09-05 08:03:12 -05:00
3 changed files with 20 additions and 11 deletions
-1
View File
@@ -29,7 +29,6 @@ require("lazy").setup({
}, lazy_config)
-- load plugins' setup
require("neogit").setup{}
require("gitmoji").setup({})
require("todo-comments").setup({})
-- require("cmp").setup({
+1 -1
View File
@@ -6,7 +6,7 @@ local map = vim.keymap.set
map("n", ";", ":", { desc = "CMD enter command mode" })
map("i", "jk", "<ESC>")
map("n", "<leader>gh", ":Neogit <cr>")
-- map("n", "<leader>gh", ":Neogit <cr>")
map("n", "<leader>md", ":MarkdownPreviewToggle <cr>")
map("n", "<leader>tl", ":TodoLocList <cr>")
map("n", "<leader>td", ":TodoQuickFix <cr>")
+19 -9
View File
@@ -50,15 +50,6 @@ return {
},
},
{
"NeogitOrg/neogit",
dependencies = {
"nvim-lua/plenary.nvim",
"nvim-telescope/telescope.nvim",
},
config = true,
},
{
"kylechui/nvim-surround",
version = "*", -- Use for stability; omit to use `main` branch for the latest features
@@ -137,4 +128,23 @@ return {
opts = {}
},
{
"kdheepak/lazygit.nvim",
cmd = {
"LazyGit",
"LazyGitConfig",
"LazyGitCurrentFile",
"LazyGitFilter",
"LazyGitFilterCurrentFile",
},
-- optional for floating window border decoration
dependencies = {
"nvim-lua/plenary.nvim",
},
-- setting the keybinding for LazyGit with 'keys' is recommended in
-- order to load the plugin when the command is run for the first time
keys = {
{ "<leader>lg", "<cmd>LazyGit<cr>", desc = "LazyGit" }
}
},
}