Adding lazygit back for a nice ui.

This commit is contained in:
Dan Chadwick
2025-08-27 09:41:54 -04:00
parent 69ec44c865
commit 3eef18f9cd
3 changed files with 19 additions and 11 deletions

View File

@@ -15,6 +15,7 @@ vim.keymap.set("n", "-", "<cmd>Oil<CR>")
vim.keymap.set("n", "<CR>", "<cmd>w!<CR>")
vim.keymap.set("n", "<leader>nh", "<cmd>noh<CR>")
vim.keymap.set("n", "<leader>sq", "<cmd>wq!<CR>")
vim.keymap.set("n", "<leader>lg", "<cmd>LazyGit<CR>")
-- Terminal in neovim --
vim.keymap.set('t', '<C-space>', "<C-\\><C-n><C-w>h",{silent = true})

6
lua/plugins/lazygit.lua Normal file
View File

@@ -0,0 +1,6 @@
return {
"kdheepak/lazygit.nvim",
dependencies = {
"nvim-lua/plenary.nvim",
}
}