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.
This commit is contained in:
2017-01-19 14:43:34 +03:00
parent 69c068e3a9
commit b0d27728ee

4
.emacs
View File

@@ -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)