Skip to content

Commit

Permalink
feat(lazygit): add lazygit.nvim
Browse files Browse the repository at this point in the history
  • Loading branch information
realeinherjar committed Sep 7, 2023
1 parent 4802a0c commit 92032c1
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -851,9 +851,9 @@ require("lazy").setup({
"tpope/vim-fugitive",
event = "VeryLazy",
keys = {
{ "<leader>gi", "<CMD>Git<CR>", desc = "[Gi]t" },
{ "<leader>gi", "<CMD>Git<CR>", desc = "Fug[i]tive" },
-- It allows me to easily set the branch I am pushing and any tracking
{ "<leader>gt", "<CMD>Git push -u origin <CR>", desc = "[G]it Push [T]agging" },
{ "<leader>gt", "<CMD>Git push -u origin <CR>", desc = "Git Push [T]agging" },
},
config = function()
vim.api.nvim_create_autocmd({ "Filetype" }, {
Expand Down Expand Up @@ -889,6 +889,13 @@ require("lazy").setup({
})
end,
},
{
"kdheepak/lazygit.nvim",
dependencies = {
"nvim-lua/plenary.nvim",
},
keys = { { "<leader>gg", "<CMD>LazyGit<CR>", desc = "Lazy[g]it" } },
},
-- Miscellaneous
"tpope/vim-sleuth", -- Detect tabstop and shiftwidth automatically
{
Expand Down

0 comments on commit 92032c1

Please sign in to comment.