Skip to content

Commit

Permalink
home (nvim): Add keybinding for showing git hunk previews
Browse files Browse the repository at this point in the history
  • Loading branch information
britter committed Nov 7, 2024
1 parent 40997ea commit e996881
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions home/terminal/nvim.nix
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,11 @@ in {
silent = true;
};
}
{
action = "<cmd>Gitsigns preview_hunk<CR>";
key = "<leader>gp";
mode = ["n"];
}
{
action = "<cmd>Neotree filesystem reveal toggle left<CR>";
key = "<C-n>";
Expand Down

0 comments on commit e996881

Please sign in to comment.