diff options
author | Kyle Meyer <kyle@kyleam.com> | 2014-08-29 18:17:43 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2014-08-29 18:17:43 -0400 |
commit | 633c0d274006dbceec02875b50f99bf3e4dac706 (patch) | |
tree | 0617db5ada8a1cee0f68ded92ef067ae9bf26b38 /lisp | |
parent | f9fe9d5761a1aa451496b6dbba5af992df63f150 (diff) | |
download | emacs.d-633c0d274006dbceec02875b50f99bf3e4dac706.tar.gz |
Fix ctl-x-4-map binding
I was unbinding "R" and then binding it again later because I didn't
realize that it wasn't a default.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/init-buffile.el | 4 | ||||
-rw-r--r-- | lisp/init-ido.el | 5 |
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) |