Skip to content

Instantly share code, notes, and snippets.

@rlb3
Created March 18, 2013 18:41
Show Gist options
  • Select an option

  • Save rlb3/5189647 to your computer and use it in GitHub Desktop.

Select an option

Save rlb3/5189647 to your computer and use it in GitHub Desktop.
git-gutter config
(global-git-gutter-mode t)
(global-set-key (kbd "C-c C-g") 'git-gutter:toggle)
(global-set-key (kbd "C-c v =") 'git-gutter:popup-diff)
;; Jump to next/previous hunk
(global-set-key (kbd "C-c p") 'git-gutter:previous-hunk)
(global-set-key (kbd "C-c n") 'git-gutter:next-hunk)
;; Revert current hunk
(global-set-key (kbd "C-c r") 'git-gutter:revert-hunk)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment