diff options
Diffstat (limited to 'emacs/.emacs.d/init/magit-init.org')
-rw-r--r-- | emacs/.emacs.d/init/magit-init.org | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init/magit-init.org b/emacs/.emacs.d/init/magit-init.org new file mode 100644 index 0000000..a759c5d --- /dev/null +++ b/emacs/.emacs.d/init/magit-init.org @@ -0,0 +1,16 @@ +#+TITLE: Magit + +#+BEGIN_SRC emacs-lisp + (require 'magit) +#+END_SRC + +Magit is a very nice interface to Git for Emacs. It allows you to do +just about anything with Git without leaving the comfort of your Emacs +session. + +Show refined diffs in magit. This makes it much easier to see /what/ +has changed on a line. + +#+BEGIN_SRC emacs-lisp + (setq magit-diff-refine-hunk 'all) +#+END_SRC |