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 ...
9
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 "...
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:
...
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
What does 'ido-everywhere' actually do?
ido-everywhere function
(define-minor-mode ido-everywhere
"Toggle use of Ido for all buffer/file reading.
With a prefix argument ARG, enable this feature if ARG is
positive, and disable it ...
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
Accepted
How to enable ido-mode forever?
I've decided to answer my question as some other noobs like me could have the same problem. Just follow the following steps(everything that I'm going to say is on these links https://www.emacswiki.org/...
4
votes
Accepted
How can I skip Helm/IDO when I want to open Dired?
Thanks for all the answers. After inspecting it further, I found the option dired-jump which does the same as dired but without the IDO/Helm.
The docstring tells the following
Jump to Dired buffer ...
4
votes
How can I skip Helm/IDO when I want to open Dired?
If you want to disable helm completion for some specific command when helm-mode is on, you can modify the user option helm-completing-read-handlers-alist, for example, for you request
(add-to-list '...
4
votes
Accepted
Can I use ido-mode for org-clock-select-task?
I use the following snippet to select a recently clocked task with ido:
(defun org-clock-in-select ()
(interactive)
(let (res)
(dolist (i org-clock-history)
(with-current-buffer
(...
4
votes
Accepted
Completing read a directory or an element from a list
You can try something like:
(let* ((dir-table (apply-partially #'completion-table-with-predicate
#'completion-file-name-table
#'file-...
4
votes
Emacs - suppress Completion Buffer
Set the variable completion-auto-help to lazy. The documentation says:
Non-nil means automatically provide help for invalid completion input.
If the value is t the *Completion* buffer is displayed ...
4
votes
Accepted
When using C-x C-f turn off the suggestions
Asuming that C-x C-f is bound to ido-find-file you drop back to the non-Ido version by typing C-x C-f again or just C-f. This will allow you to create the file you want without Ido interfence.
3
votes
Accepted
ido flex matching doesn't seem to work, or works partially
With yet even more searching on the net and forums, I saw a single lonely reference to (setq ido-enable-flex-matching t), which is slightly different than the many references to (setq ido-mode-flex-...
3
votes
Recently opened files in ido-mode
what I've resorted to in this case is going back to normal minibuffer behaviour by typing C-f in idomode. Then you'll have normal history browsing keys. If you know it in advance, it can be quick : C-...
3
votes
Accepted
Can counsel functions use ido-flex style matching?
For a regular counsel (that is actually using ivy backend) try to setup smth like:
(setq ivy-re-builders-alist '((swiper . ivy--regex-plus)
(t . ivy--regex-fuzzy)))
...
3
votes
Accepted
Setting the major mode of a new buffer interactively
I know this is not exactly what you're asking, but the Emacs way to solve this problem is to use C-x C-f instead of C-x b (if you don't want to create a file, just don't use C-x C-s in that buffer).
3
votes
Accepted
How can I exit completing-read with the current string instead of a completion with fido?
You have to use icomplete-fido-exit. It's by default bound to M-j.
(icomplete-fido-exit FORCE)
Attempt to exit minibuffer immediately with current input.
2
votes
How to disable IDO in ‘dired-create-directory’
For files (and directories, not buffers) C-f makes it fall back to non-ido behavior.
C-f runs the command ido-magic-forward-char (found in ido-completion-map), which is an interactive compiled Lisp ...
2
votes
How can I skip Helm/IDO when I want to open Dired?
(require 'dired-x)
Then press C-x C-j to open dired in the current directory.
2
votes
Accepted
`+` in dired-mode with icicles and ido enabled raises an error
Turn off ido-mode.
Ido takes over the minibuffer, imposing its own, radically different key bindings and behavior. Ido is not compatible with Icicles or with the vanilla Emacs minibuffer key ...
2
votes
Accepted
My imenu-entries get double listed. How could I correct that?
Vanilla imenu presents things hierarchically, so you'd first have to choose between Public/Private/All functions, before you actually chose from a list of actual function. However, this is confusing ...
2
votes
Accepted
Configuring the number of buffers saved by ido, using ido-use-virtual-buffers?
ido gets its file history from multiple places:
If ido-use-virtual-buffers is enabled, ido uses recentf to save buffer history. At history save time (e.g. on emacs shutdown), recentf-files may ...
2
votes
Failed to load ido.el
Ido is part of Emacs since Emacs 22, you can (and should) load it without any setup. Emacs 24 can or can't load Emacs 25's ido.el. The backtrace complains: can't load seq. seq is added from Emacs 25.1....
2
votes
Using ido completion for selecting a repository for magit
Finally, I found the solution to my problem. magit-status ultimately calls read-file-name. The read-file-name function uses read-file-name-function variable to find the function that it can call for ...
2
votes
Using ido completion for selecting a repository for magit
Magit only used magit-completing-read when reading "magit-specific" things. When reading things that other packages also need to read, then it uses the specialized functions provided by Emacs instead. ...
2
votes
is there some sort of namespace(or filter) for files and buffers per frame available?
Define "belong together". Only you know which files and buffers belong to a given context/project.
If you can define that set then you can label its elements.
In some contexts you can introduce your ...
2
votes
How select and kill desire many buffers in ido mode?
ido isn't designed for that; use the buffer list instead. C-x C-b opens a buffer containing a list of all buffers that are open. In this buffer you can use C-k to mark buffers to be deleted, then x to ...
2
votes
Why ido mode automatically change current folder when create new file?
It's also possible to pause Ido completion by typing C-f at the Ido prompt as soon as you have the correct directory, and then type the new file name:
C-x C-f navigate to directory C-f type new file ...
2
votes
find-file using ido as case sensitive
Set ido-case-fold to nil
-- User Option: ido-case-fold
If the value of this user option is non-‘nil’, searching of buffer
and file names should ignore case.
update
Take care of:
do not ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
ido × 107ido-find-file × 16
key-bindings × 10
completion × 10
buffers × 9
helm × 7
minibuffer × 6
find-file × 6
flx-ido × 6
dired × 5
recentf × 5
tramp × 4
ivy × 4
org-mode × 3
files × 3
projectile × 3
icicles × 3
completing-read × 3
smex × 3
init-file × 2
magit × 2
package × 2
frames × 2
counsel × 2
ibuffer × 2