Added lazygit integration
This commit is contained in:
parent
2d07e77c77
commit
662e20f797
|
@ -4,6 +4,7 @@
|
||||||
imports = [
|
imports = [
|
||||||
./plugins/cmp.nix
|
./plugins/cmp.nix
|
||||||
./plugins/gitsigns.nix
|
./plugins/gitsigns.nix
|
||||||
|
./plugins/lazygit.nix
|
||||||
./plugins/lsp.nix
|
./plugins/lsp.nix
|
||||||
./plugins/lualine.nix
|
./plugins/lualine.nix
|
||||||
./plugins/rhubarb.nix
|
./plugins/rhubarb.nix
|
||||||
|
|
16
config/plugins/lazygit.nix
Normal file
16
config/plugins/lazygit.nix
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
{
|
||||||
|
plugins.lazygit = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
keymaps = [
|
||||||
|
{
|
||||||
|
action = "<cmd>:LazyGit<CR>";
|
||||||
|
key = "<leader>lg";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
action = "<cmd>:LazyGitFilter<CR>";
|
||||||
|
key = "<leader>lc";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
Loading…
Reference in a new issue