From f026c7393f4f1ad1944ecc01c45ddfb61fb20ad5 Mon Sep 17 00:00:00 2001 From: taptap Date: Thu, 19 Jan 2017 14:43:34 +0300 Subject: [PATCH] change ido default buffer/file methods Ido has a nasty feature of switching to frame in which window with file/buffer in question is already opened, instead opening it in current window. Most probably it was designed for lesser, non-tiling WMs. Patch fixes this behaviour, forcing C-x C-f and C-x b to open file/buffer in the current window. --- .emacs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.emacs b/.emacs index e56a0c5..4fd46b3 100755 --- a/.emacs +++ b/.emacs @@ -40,7 +40,9 @@ ido-enable-flex-matching t mouse-yank-at-point t inhibit-startup-screen t - column-number-mode t) + column-number-mode t + ido-default-buffer-method 'selected-window + ido-default-file-method 'selected-window) (load-theme 'tango-dark)