summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/init-buffile.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/lisp/init-buffile.el b/lisp/init-buffile.el
index 735dcb6..bfb9c8d 100644
--- a/lisp/init-buffile.el
+++ b/lisp/init-buffile.el
@@ -56,6 +56,12 @@ user."
(global-set-key (kbd "C-x K") 'kill-buffer-and-window)
(key-chord-define-global ",f" 'find-file)
+;; Replace `find-file-read-only-other-window' binding with
+;; `view-file-other-window'. This is functionally the same, but more
+;; consistent with my projectile bindings.
+(define-key ctl-x-4-map "R" nil)
+(define-key ctl-x-4-map "v" 'view-file-other-window)
+
(key-chord-define-global ",s" 'save-buffer)
(key-chord-define-global ",q" 'kill-this-buffer)
(key-chord-define-global ",d" 'km/save-and-kill-buffer)