mirror of
https://github.com/akr2002/nv.git
synced 2024-12-28 17:02:54 +00:00
add lazygit
This commit is contained in:
parent
7a0ff6d247
commit
e673c475a3
2 changed files with 22 additions and 0 deletions
|
@ -11,6 +11,7 @@
|
|||
|
||||
./git/diffview.nix
|
||||
./git/gitsigns.nix
|
||||
./git/lazygit.nix
|
||||
|
||||
./dap/dap.nix
|
||||
|
||||
|
|
21
config/git/lazygit.nix
Normal file
21
config/git/lazygit.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
{pkgs, ...}: {
|
||||
extraPlugins = with pkgs.vimPlugins; [
|
||||
lazygit-nvim
|
||||
];
|
||||
|
||||
extraConfigLua = ''
|
||||
require("telescope").load_extension("lazygit")
|
||||
'';
|
||||
|
||||
keymaps = [
|
||||
{
|
||||
mode = "n";
|
||||
key = "<leader>gg";
|
||||
action = "<cmd>LazyGit<CR>";
|
||||
options = {
|
||||
desc = "LazyGit (root dir)";
|
||||
};
|
||||
}
|
||||
];
|
||||
}
|
||||
|
Loading…
Reference in a new issue