From 0c60fb470958bb4e3614d55454b78544de9c232c Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Tue, 19 Aug 2014 21:44:44 -0400 Subject: Add view-file-other-window to ctl-x-4-map --- lisp/init-buffile.el | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lisp') 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) -- cgit v1.2.3