diff options
Diffstat (limited to 'lisp/init-ido.el')
-rw-r--r-- | lisp/init-ido.el | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/lisp/init-ido.el b/lisp/init-ido.el index 87a314e..da40bd3 100644 --- a/lisp/init-ido.el +++ b/lisp/init-ido.el @@ -36,27 +36,6 @@ (ido-ubiquitous-mode 1) (ido-at-point-mode) -;; From prelude -(defun km/recentf-ido-find-file () - "Find a recent file using ido." - (interactive) - (-when-let (file (km/read-recent-file)) - (find-file file))) - -(defun km/recentf-ido-find-file-other-window () - "Find a recent file in other window using ido." - (interactive) - (-when-let (file (km/read-recent-file)) - (find-file-other-window file))) - -(defun km/read-recent-file () - (ido-completing-read "Choose recent file: " recentf-list nil t)) - -(key-chord-define-global ",r" 'km/recentf-ido-find-file) -;; 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) (provide 'init-ido) |