Questions tagged [ido]

Ido provides a very convenient way to find files and switch buffers in Emacs.

22 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3 votes
0 answers
105 views

ido, smex , candidates: show directories with different color

emacs 26.1 , windows 10, ido mode, smex package M-x map And here result: smex show all candidates content text map Nice. It's work fine. But second candidates (mappings) is a directory. Rest of ...
a_subscriber's user avatar
  • 4,074
2 votes
0 answers
78 views

migrated from emacs 25 to 26.1: cannot force find-file/counsel-projectile-find-file to always open buffer in current window

Recently I migrated from emacs 25 to 26.1. Before I reached the window behaviour, where I could always open a file at the window at point. The most simple case to illustrate undesired behaviour: I ...
stlk's user avatar
  • 81
1 vote
0 answers
107 views

emacs ivy: disable ido completition

I am using GNU Emacs 26.2 and ivy from melpa. When I run M-x and enter: M-x magit-status ivy suggests: ido-enter-magit-status magit-status magit-status-mode I don't use use ido, I have no idea ...
user1244932's user avatar
1 vote
0 answers
74 views

ido-enabled find-file does not match an existing file name when I yank file name and directory

I enabled IDO mode in my emacs (version 25.2.1, Linux) and now I am trying to open a file. I am in the directory ~/foo . The file is ~/foo/baz/bar.cpp and it does exist. I have baz/bar.cpp in my ...
Arkadiy's user avatar
  • 111
1 vote
0 answers
50 views

Sort ido results by recentness even when filtered

I have ido-use-virtual-buffers set to t, so when I M-x ido-switch-buffer, I initially see a list of files with the most recent files at the top. However, as soon as I type anything to filter the list ...
Croad Langshan's user avatar
1 vote
0 answers
48 views

Minimum length for ido-completing-read

I'm trying to write an ido-completing-read-powered backend for projectile-find-tag. However, for really big TAG files, this is ridiculously slow when the user starts typing because there are so many ...
fommil's user avatar
  • 1,780
1 vote
0 answers
36 views

ido-find-file: directory names with hyphens are listed first

When using ido-find-file (C-x C-f) to navigate through directories, directories that have a hyphen in the name are listed before shorter matches with no hyphen. For example, if directories named "dir1"...
axiomatic's user avatar
1 vote
0 answers
25 views

Feature query to auto-complete mode

Basically, I am looking for an autocomplete-mode that suggests words as ido-mode does on file. Meaning, if I've typed "em" and the autocomplete suggests two words "Emacs" and "Emacsclient" , it should ...
Bibek_G's user avatar
  • 215
0 votes
1 answer
34 views

How to prompt for a virtual buffer (recently killed file buffer) using Ido completion?

When ido-use-virtual-buffers is set to t, ido-switch-buffer shows, after the list of live buffers, a list of killed file buffers in chronological order, last killed first. Those are what Ido calls ...
Arch Stanton's user avatar
  • 1,657
0 votes
0 answers
17 views

How to speed up ido-use-filename-at-point 'guess on large directories

I ran into an issue of C-x C-f being very slow when guessing the filename at point if the file at point is located in a large directory (119765 entries). My ido configuration: (require 'ido) (setq ido-...
graywolf's user avatar
  • 103
0 votes
0 answers
43 views

Minibuffer and ido keybindings with ergoemacs-mode

I'm struggling to get the same hotkeys in the latest ergoemacs-mode (as they were in ergoemacs 5.3.7): In the M-x (execute-extended-command) command prompt I want M-i to act as previous-line-or-...
Max Arnold's user avatar
0 votes
0 answers
25 views

Ido only shows directories and no files

When I am using ido, it only shows the folders and not the files within the folders. I have the following code in the init.el file: ;;Setup ido ...
Anton's user avatar
  • 1
0 votes
0 answers
48 views

How can I prevent `C-s` from invoking I-search while using Smex?

While using M-x ; by default C-s was binding to next line so I used to keep pressing C-s to toggle around. When I start using smex, C-s is now it is bound to I-search in some cases as follows: M-x ...
alper's user avatar
  • 1,370
0 votes
0 answers
44 views

Make ido-completing-map override minibuffer-inactive-mode-map

I'm trying to bind a key in ido-completing-map, and I want it to override the key-binding with the same key from minibuffer-inactive-mode-map. But the latter seems to take precedence. How can I remedy ...
Joon Kwon's user avatar
  • 363
0 votes
0 answers
82 views

ido-mode breaks docker-tramp completion in minibuffer, and opens wrong files

Somehow the following minimal emacs config breaks docker-tramp. Completion in the mini-buffer does not work for /docker:, nor the container ids/names like /docker:43893ad331df, and once you type out ...
Camden Narzt's user avatar
0 votes
0 answers
91 views

Why aren't recently visited files at the front of the list for `ido-switch-buffer`?

I don't understand why, no matter what, scratch, Messages, Compile-Log etc are always the buffers that show up first. I use now this little function (defun ido-recentf-open () "Use `ido-completing-...
CD86's user avatar
  • 563
0 votes
0 answers
49 views

Emacs flashes when changing buffer with `ido-switch-buffer`

When I change buffer via ido-switch-buffer and enter a python buffer my entire Emacs flashes visually for a second. If I handle other files the same way, it does not. What can be the reason for that? ...
CD86's user avatar
  • 563
0 votes
0 answers
47 views

ido mode keeps suggesting mismatching buffer name

Here is the relevant part of my configuration file: (require 'ido) (setq ido-enable-flex-matching t) (setq ido-everywhere t) (setq ido-auto-merge-work-directories-length -1) (ido-mode 1) The problem ...
nalzok's user avatar
  • 675
0 votes
1 answer
108 views

How to stop ido-find-file/ido-switch-buffer prioritising the current buffer/file?

For example, if I have a Test.cpp and a Test.h and one of them is open, ido-find-file will often suggest the already-open one first if I type "Test". Likewise when both are open and the current buffer ...
Sam Brightman's user avatar
0 votes
0 answers
92 views

Ido - how autocomplete everything?

Emacs 26.1 I use ido mode with same. It is work nice. But I need ido interactively autocomplete for : bookmarks shell history commands Is it possible?
a_subscriber's user avatar
  • 4,074
0 votes
0 answers
108 views

Recentf buffer is not interactively

windows 10, emacs 26.1 I use ido mode. in my init.el (require 'ido) (require 'ido-vertical-mode) (ido-use-virtual-buffers t) (ido-mode 1) (ido-vertical-mode 1) (setq ido-vertical-define-keys 'C-n-...
a_subscriber's user avatar
  • 4,074
0 votes
0 answers
194 views

Completing from filesystem search in ido-find-file

By default, when a pattern that has been typed matches no results, after a short pause in typing ido-find-file goes on to try to locate a matching file in one of recently visited directories (I ...
kkm -still wary of SE promises's user avatar