29
votes
Accepted
How should I change my workflow when moving from IDO to Helm
UPDATED (Helm changes, personal config changes, and Tu Do comments).
I switched from IDO to Helm few years ago and I never looked back.
I find the presentation cleaner than let's say ido-vertical-...
17
votes
Accepted
How to tell Ido to get out of the way when I can already just paste the file name?
While an ido command is active (ido-find-file in this case), you can drop back to the non-ido version of the same command (find-file in this case) using the ido-default binding C-x C-f for ido-...
16
votes
Accepted
Recently opened files in ido-mode
Looking at the customization options for ido-mode (M-x customize-group RET ido RET), I don't see any options for enabling the cycling behavior you describe.
You can, however, add the following to ...
12
votes
Accepted
Is there a command `describe-command', similar to command `describe-function'?
Yes. Library help-fns+.el defines command describe-command.
And it redefines describe-function so that it does describe-command if you give it a prefix arg.
The library binds describe-command to C-h ...
9
votes
Accepted
Fuzzy completion when inserting Unicode characters
As @wasamasa suggested, ido-ubiquitous should take care of completion when insert-char is used. There is a bug report that was closed in 2013, but I still see this behaviour with Emacs 24.4 and ido-...
9
votes
Is there a command `describe-command', similar to command `describe-function'?
apropos-command might be sufficiently close.
It doesn’t offer describe-function’s tab completion, but it lets you
search only through commands, and it takes you
to their doc page.
9
votes
How to create a new buffer with ivy-switch-buffer that shares a substring with an existing buffer?
You can use C-M-j which calls ivy-immediate-done to force the output to be exactly what you typed instead of having it complete to the the nearest match
This and more information can be found in the ...
8
votes
Is there a command `describe-command', similar to command `describe-function'?
if you have smex installed, just call smex. Start to type, when the right one comes up, press C-h f.
8
votes
Accepted
Remove *.bak files from ido-mode minibuffer
ido-mode has built-in support for hiding files matching specific regexps. All you need to do is add \.bak to ido-ignore-files:
(add-to-list 'ido-ignore-files "\.bak")
After invoking ido-find-file, ...
7
votes
Accepted
How do I bind keys in ido?
According to the source code, you need to modify keybindings via ido-setup-hook:
;; Customization
;; -------------
;;
;; Customize the `ido' group to change the `ido' functionality.
;;
;; To modify ...

Dan♦
- 31k
7
votes
Accepted
how to switch to a new buffer with ido without needing to confirm?
Found the answer to this question with some additional digging, but I'll leave it up in case others have this question in the future.
The variable in question is confirm-nonexistent-file-or-buffer. ...

Dan♦
- 31k
7
votes
Is there a command `describe-command', similar to command `describe-function'?
I can't find this built-in. It is fairly easy to make a wrapper around describe-function that only completes command names when called interactively. In the implementation below, I duplicated the ...
7
votes
Accepted
How to replicate the "~/"-to-home & "//"-to-root behaviour in ido-find-file but for a custom directory?
I was just about to make a blog post about this (I'll do it later anyway):
(defun oleh-ido-setup-hook ()
(define-key ido-file-dir-completion-map "~"
(lambda ()
(interactive)
(ido-...
7
votes
Accepted
Have `projectile-find-file` fall back to `ido-find-file` outside of projects
Write your own command that checks:
(defun maybe-projectile-find-file ()
(interactive)
(call-interactively
(if (projectile-project-p)
#'projectile-find-file
#'ido-find-file)))
(...
6
votes
How to tell Ido to get out of the way when I can already just paste the file name?
Given you're dealing with full path names, other methods may work:
use M-x ffap (find-file-at-point): it will automatically read the path name and open the file
activate M-x compilation-shell-minor-...
6
votes
Accepted
Edit org-mode tags using ido or ivy completion
For those users of an ivy/counsel persuasion, the command counsel-org-tag (added in v0.6 AFAICT) enables ivy-backed completion (including multiple selection and deselection) of org-mode tags:
...
6
votes
Accepted
Icomplete and Ido: Why are both in the codebase?
Ido is implemented in a way that would require a big rewrite for it to support completion in different context, not just the handful of the pre-defined ones.
But it was born at the time when it was "...
5
votes
Is there a command `describe-command', similar to command `describe-function'?
If you are using helm and helm-M-x, you can press C-j on the commands to pop up their documentation.
5
votes
Accepted
How to enable ido-ubiquitous globally
From a comment at the top of ido-ubiquitous.el (the relevant part is in bold):
To use this package, call ido-ubiquitous-mode to enable the mode,
or use M-x customize-variable ido-ubiquitous-mode ...
5
votes
Accepted
Using ido or helm to auto complete email addresses in mu4e
The variable mu4e~contacts-for-completion stores a list of contacts that mu4e knows about. The contacts are conveniently stored as "name <email>" strings, which is the same thing you want to ...
5
votes
Accepted
Tell Dired to ignore file-at-point when invoking `ido-find-file` (`C-x C-f` in Ido mode)
If you are using ido-find-file and have configured ido to use the filename at point (e.g. you have ido-use-filename-at-point set to t or 'guess), you can prevent ido from using the name at point from ...
5
votes
How to tell Ido to get out of the way when I can already just paste the file name?
Since there's always more than one way to do it, here's a variation on @abo-abo's idea that keeps ido completion active rather than falling back to the normal find command.
(defun ido-yank ()
(...
5
votes
Accepted
distinguish ido/ivy's virtual-buffers with equal names using directory?
According to https://github.com/abo-abo/swiper/issues/648, it's simply
(setq ivy-virtual-abbreviate 'full)
It's not quite as nice as opened buffers (where only the differing part is shown), but ...
5
votes
Accepted
Why ido mode automatically change current folder when create new file?
You should either set ido-auto-merge-work-directories-length to a negative value, or increase the number of seconds in ido-auto-merge-delay-time.
4
votes
ido mode not previewing buffers names on switch buffer C-x b
To activate ido mode, put this in your init file:
;; make buffer switch command auto suggestions, also for find-file command
(ido-mode 1)
Then, C-x b will call the ido version of switch buffer ...
4
votes
Accepted
When switching buffers, prevent emacs from automatically switching frame
There does not appear to be an option for this.
The function to find a buffer does allow you to specify whether to look in all frames or only in the current frame:
(get-buffer-window &optional ...
4
votes
Fuzzy completion when inserting Unicode characters
To get snow capped mountain included when you just type mount, you may want to do:
(push '(unicode-name (styles substring)) completion-category-overrides)
Actually, maybe this substring style should ...
4
votes
Accepted
How do I use TAB instead of Enter for completion in ido-mode?
You can control this by setting the variable ido-enable-prefix to t:
(setq ido-enable-prefix t)
From the documentation:
Non-nil means only match if the entered text is a prefix of file name.
...
4
votes
Recently opened files in ido-mode
Though the bindings have evolved over time, as of today, when you invoke ido-find-file or ido-find-file-read-only, you can use the following bindings available in the default configuration:
M-o ...
4
votes
ido-find-file: lists of results in wrong order
Ido doesn't have very smart fuzzy matching by default. Essentially, if you put in
horse
Ido will try to match
.*h.*o.*r.*s.*e.*
against its candidates. This isn't really how we think about ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
ido × 104ido-find-file × 15
key-bindings × 10
completion × 10
buffers × 9
helm × 7
find-file × 6
flx-ido × 6
dired × 5
minibuffer × 5
recentf × 5
tramp × 4
ivy × 4
org-mode × 3
projectile × 3
icicles × 3
completing-read × 3
smex × 3
magit × 2
package × 2
frames × 2
files × 2
counsel × 2
ibuffer × 2
cycling × 2