summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/init-buffile.el4
-rw-r--r--lisp/init-ido.el5
2 files changed, 3 insertions, 6 deletions
diff --git a/lisp/init-buffile.el b/lisp/init-buffile.el
index 5e6aee8..31695fd 100644
--- a/lisp/init-buffile.el
+++ b/lisp/init-buffile.el
@@ -56,10 +56,6 @@ 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)
diff --git a/lisp/init-ido.el b/lisp/init-ido.el
index 64417fc..87a314e 100644
--- a/lisp/init-ido.el
+++ b/lisp/init-ido.el
@@ -53,8 +53,9 @@
(ido-completing-read "Choose recent file: " recentf-list nil t))
(key-chord-define-global ",r" 'km/recentf-ido-find-file)
-;; Remap find-file-read-only-other-window to free up "r".
-(define-key ctl-x-4-map "R" 'find-file-read-only-other-window)
+;; This overrides `find-file-read-only-other-window', but
+;; `view-file-other-window', which I map to 'v', has the same
+;; functionality.
(define-key ctl-x-4-map "r" 'km/recentf-ido-find-file-other-window)
(key-chord-define-global ",b" 'ido-switch-buffer)