summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2014-09-01 19:24:45 -0400
committerKyle Meyer <kyle@kyleam.com>2014-09-01 19:24:45 -0400
commit56af6e7be7b166ef17d40283b681f3bc4c6584a5 (patch)
tree7d3b21b855609715f6c4b19bdb5b7d79f02cb04a
parent5b091e2d2c9f151d85166c3dd28d215d3ecb2bfa (diff)
downloademacs.d-56af6e7be7b166ef17d40283b681f3bc4c6584a5.tar.gz
Turn on view-mode after magit-find-file
-rw-r--r--lisp/init-git.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/init-git.el b/lisp/init-git.el
index f4fa2bf..385b6f5 100644
--- a/lisp/init-git.el
+++ b/lisp/init-git.el
@@ -57,6 +57,7 @@ Useful for non-source code repos (e.g., Org mode note files)."
magit-completing-read-function 'magit-ido-completing-read
magit-popup-show-help-echo nil
magit-popup-show-help-section nil
+ magit-find-file-hook 'view-mode
magit-log-show-margin nil)
(setq vc-follow-symlinks t)