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 ...
Jules's user avatar
  • 1,225
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 "...
Dmitry's user avatar
  • 3,768
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: ...
Basil's user avatar
  • 12.4k
6 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.
jagrg's user avatar
  • 3,914
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 ...
unhammer's user avatar
  • 1,159
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 ...
junnu's user avatar
  • 780
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/...
n00b's user avatar
  • 171
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 (...
mutbuerger's user avatar
  • 3,494
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-...
Stefan's user avatar
  • 26.4k
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 ...
matteol's user avatar
  • 1,998
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.
FredrikHedman's user avatar
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-...
Kevin's user avatar
  • 1,318
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-...
yourfriend's user avatar
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))) ...
Maxim Kim's user avatar
  • 1,766
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).
Stefan's user avatar
  • 26.4k
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.
Zeta's user avatar
  • 1,093
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 ...
x-yuri's user avatar
  • 291
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 ...
Drew's user avatar
  • 77.5k
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 ...
Jordon Biondo's user avatar
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 ...
Croad Langshan's user avatar
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....
xuchunyang's user avatar
  • 14.5k
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 ...
narendraj9's user avatar
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. ...
tarsius's user avatar
  • 25.7k
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 ...
Drew's user avatar
  • 77.5k
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 ...
db48x's user avatar
  • 18.1k
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 ...
PRouleau's user avatar
  • 796
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 ...
Muihlinn's user avatar
  • 2,624
2 votes
Accepted

How to delete backward word in find-file using ido?

It was conflicting with ido's keybinding so I disabled it. (defun bind-ido-keys () "Keybindings for ido mode." (define-key ido-completion-map (kbd "\C-o") 'nil)) (add-hook 'ido-setup-hook #'bind-...
alper's user avatar
  • 1,370
2 votes

Is it problematic to use simultaneously Helm and Ido-mode? What are the consequences?

1, ido-compleing-read can only select from string list. helm supports Emacs builtin API completing-read. Here is completing-read documentation. So helm is more powerful. ido and helm are bit old. ...
chen bin's user avatar
  • 4,867
2 votes
Accepted

Is it problematic to use simultaneously Helm and Ido-mode? What are the consequences?

Question 1: Helm provides all the functions that ido does. You can use helm to find files, switch buffers, or do anything else that ido is used for. In addition, Helm can do a lot more, both in the ...
Tyler's user avatar
  • 22.3k

Only top scored, non community-wiki answers of a minimum length are eligible