summaryrefslogtreecommitdiffstats
path: root/.emacs.d/init.el
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.emacs.d/init.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index b67efd0..9ccc3bb 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -445,6 +445,10 @@ For disabling the behaviour for certain buffers and/or modes."
;; allow scrolling in Isearch
(setq isearch-allow-scroll t)
+;; open read-only file buffers in view-mode
+;; (enables niceties like `q' for quit)
+(setq view-read-only t)
+
(use-feature vc
:bind ("C-x v C-=" . vc-ediff))