diff options
author | Kyle Meyer <kyle@kyleam.com> | 2014-08-19 21:44:44 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2014-08-19 21:44:44 -0400 |
commit | 0c60fb470958bb4e3614d55454b78544de9c232c (patch) | |
tree | eb76e560b7ef026a4e74f4b5958305912f3bfc01 | |
parent | ba9c409f0e9658e286d0c0763e95a9ae23a694d9 (diff) | |
download | emacs.d-0c60fb470958bb4e3614d55454b78544de9c232c.tar.gz |
Add view-file-other-window to ctl-x-4-map
-rw-r--r-- | lisp/init-buffile.el | 6 |
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) |