From d1b1f3cfc5dae803460113afef1047018c045036 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Fri, 28 Feb 2014 19:20:48 -0500 Subject: Always switch to buffer in new window The default file and buffer switching methods for ido will raise a frame if the buffer is already present somewhere else. With `selected-window', the buffer is always shown in the current window, which behaves better with multiple screens. --- lisp/init-ido.el | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lisp') diff --git a/lisp/init-ido.el b/lisp/init-ido.el index 5c37e71..fc63bfb 100644 --- a/lisp/init-ido.el +++ b/lisp/init-ido.el @@ -3,6 +3,8 @@ (setq ido-enable-prefix nil ido-enable-flex-matching t + ido-default-file-method 'selected-window + ido-default-buffer-method 'selected-window ido-create-new-buffer 'always ido-use-filename-at-point 'guess ido-max-prospects 10 -- cgit v1.2.3