Skip to content

Commit

Permalink
Add lazygit to neovim, add lazydocker
Browse files Browse the repository at this point in the history
  • Loading branch information
genebean committed Jun 10, 2024
1 parent 8cd511b commit c62200f
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
1 change: 1 addition & 0 deletions modules/home-manager/common/all-cli.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ in {
httpie
hub
jq
lazydocker
lazygit
lua-language-server
minicom
Expand Down
23 changes: 23 additions & 0 deletions modules/home-manager/files/nvim/lua/plugins/git-stuff.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,27 @@ return {
{
"tpope/vim-fugitive",
},
{
"kdheepak/lazygit.nvim",
cmd = {
"LazyGit",
"LazyGitConfig",
"LazyGitCurrentFile",
"LazyGitFilter",
"LazyGitFilterCurrentFile",
},
-- optional for floating window border decoration
dependencies = {
"nvim-lua/plenary.nvim",
"nvim-telescope/telescope.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" },
},
config = function()
require("telescope").load_extension("lazygit")
end,
},
}

0 comments on commit c62200f

Please sign in to comment.