Skip to content

Instantly share code, notes, and snippets.

@Munksgaard
Created March 8, 2021 14:08
Show Gist options
  • Save Munksgaard/32a47473636af70c43ed7b8b8cfc7d6c to your computer and use it in GitHub Desktop.
Save Munksgaard/32a47473636af70c43ed7b8b8cfc7d6c to your computer and use it in GitHub Desktop.
(use-package magit
:ensure t
:bind (("C-c m" . magit-status)
("C-c b" . magit-blame)
("C-x g" . magit-status)
("C-x M-g" . magit-dispatch))
:config
(setq magit-diff-options (quote ("--word-diff")))
(setq magit-diff-refine-hunk 'all)
(add-hook 'magit-mode-hook (lambda () (local-unset-key [C-tab])))
(add-to-list 'magit-repository-directories '("~/src/" . 1)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment