add neogit keybinds

This commit is contained in:
Aditya 2024-03-10 12:43:54 +05:30
parent f003d2dcab
commit 2081f33ef8
Signed by: aditya
SSH key fingerprint: SHA256:jL1IvWsjjlPtw6HvDIHfXfhO9IkIokNEyIfuFhSdoyU
2 changed files with 5 additions and 3 deletions

View file

@ -10,7 +10,7 @@
keymaps = [ keymaps = [
{ {
mode = "n"; mode = "n";
key = "<leader>gg"; key = "<leader>gG";
action = "<cmd>LazyGit<CR>"; action = "<cmd>LazyGit<CR>";
options = { options = {
desc = "LazyGit (root dir)"; desc = "LazyGit (root dir)";
@ -18,4 +18,3 @@
} }
]; ];
} }

View file

@ -7,7 +7,10 @@
{ {
mode = "n"; mode = "n";
key = "<leader>gg"; key = "<leader>gg";
action = "<cmd>Neogit<cr>"; action = "<cmd>Neogit kind=floating<cr>";
options = {
desc = "Toggle Neogit";
};
} }
]; ];
} }