Merge pull request #400 from genebean/utils

Add lazygit to neovim, add lazydocker
This commit is contained in:
Gene Liverman 2024-06-10 15:09:53 -04:00 committed by GitHub
commit 11107ba787
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 24 additions and 0 deletions

View file

@ -25,6 +25,7 @@ in {
httpie httpie
hub hub
jq jq
lazydocker
lazygit lazygit
lua-language-server lua-language-server
minicom minicom

View file

@ -12,4 +12,27 @@ return {
{ {
"tpope/vim-fugitive", "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,
},
} }