feat: add neogit
Signed-off-by: Lander Van den Bulcke <landervandenbulcke@gmail.com>
This commit is contained in:
parent
c276a0e6b0
commit
df8cd9c184
2 changed files with 250 additions and 237 deletions
|
|
@ -28,6 +28,15 @@ in
|
|||
};
|
||||
};
|
||||
};
|
||||
|
||||
neogit = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
commit_popup.kind = "floating";
|
||||
kind = "floating";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
wKeyList = [
|
||||
|
|
@ -81,6 +90,8 @@ in
|
|||
|
||||
(mkKeymap "n" "[H" (mkRaw "function() require('gitsigns').nav_hunk('first') end") "First Hunk")
|
||||
|
||||
(mkKeymap "n" "<leader>gn" "<cmd>Neogit<CR>" "Neogit")
|
||||
|
||||
# Stage / Reset
|
||||
(mkKeymap "n" "<leader>gs" "<cmd>lua require('gitsigns').stage_buffer()<CR>" "Stage Buffer")
|
||||
(mkKeymap "v" "<leader>gs" (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue