Skip to content

Commit

Permalink
tweak(emacs): add a hotkey for diff-hl-show-hunk
Browse files Browse the repository at this point in the history
  • Loading branch information
gekoke committed Dec 12, 2023
1 parent 09525c1 commit 848604f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/nixos/programs/emacs/init.el
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,8 @@
(gg/leader
"g" '(:ignore t :which-key "VC")
"g s" #'diff-hl-stage-current-hunk
"g r" #'diff-hl-revert-hunk))
"g r" #'diff-hl-revert-hunk
"g h" #'diff-hl-show-hunk))

(use-package hl-todo
:config
Expand Down

0 comments on commit 848604f

Please sign in to comment.