Questions tagged [ido]

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

Interactively Do Things

A mode for Emacs that helps finding files and switching buffers by displaying a list of possible completions and narrowing the list as you type. Also have fuzzy matching, so that not only the initial substring of a completion candidate is matched.

Can be used as a library for completing read in the minibuffer.


More info

Ido stands for Interactive Do. It provides a very convenient way to find files and switch buffers in Emacs. It switches between buffers and opens files and directories with a minimum of keystrokes.

It is a superset of iswitchb, the interactive buffer switching package by Stephen Eglen.

As you type in a substring, the list of buffers or files currently matching the substring are displayed as you type. The list is ordered so that the most recent buffers or files visited come at the start of the list.

The buffer or file at the start of the list will be the one visited when you press RET. By typing more of the substring, the list is narrowed down so that gradually the buffer or file you want will be at the top of the list.

Alternatively, you can use C-s and C-r (or the right and left arrow keys) to rotate buffer or file names in the list until the one you want is at the top of the list.

64 questions
114
votes
5 answers

emacs create new file with ido enabled

I reciently switched to emacs starter kit which includes the ido package. ido has a nice feature that suggests paths when find-file which is usually very handy except when trying to create a new file. When the new file name matches a suggestion in…
Kurt Harriger
  • 2,507
  • 4
  • 20
  • 21
24
votes
3 answers

How to pick directory (not file) in IDO mode, emacs-24

IDO mode is awesome. It's essential to know the basic shortcuts, especially the escape hatch Ctrl-f (introduction-to-ido-mode/) which gets you out of ido-mode. In dired, if I want to copy a file to a directory, I can't seem to use ido to pick the…
justingordon
  • 12,553
  • 12
  • 72
  • 116
20
votes
7 answers

Emacs ido-style shell

Is there a command line shell or shell customization that supports emacs-style ido find file? In emacs, I can navigate to a directory extremely quickly using C-x C-f and (ido-mode t). Ideally, I'm looking for a solution that can be used outside of…
zpinter
  • 2,232
  • 2
  • 23
  • 29
17
votes
2 answers

Refresh remote directory in Emacs Tramp Mode

I've been using Tramp mode on my Emacs to edit files remotely. I'm also using ido mode. When I add a new file in the same directory of a file I opened using Tramp, I couldn't get Tramp to find the new file(with C-x C-f). Is there a way to refresh…
liangzan
  • 6,804
  • 4
  • 29
  • 28
12
votes
1 answer

Emacs: disable Ido completion in Tramp mode

I often use ido for auto-completion and tramp to access remote server via ssh. My .emacs includes the following lines: (require 'tramp) (setq tramp-default-method "ssh") (ido-mode 1) (setq ido-enable-flex-matching t) (setq ido-everywhere t) I want…
Mirzhan Irkegulov
  • 17,660
  • 12
  • 105
  • 166
12
votes
1 answer

Emacs fuzzy autocompletion

I really like ido's fuzzy matching in emacs. I would like to have that with autocompletion. Preferably with auto-complete, since I have ac-python and other things setup with auto-complete. I am aware that auto-complete provides fuzzy matching if…
fread2281
  • 1,136
  • 1
  • 11
  • 31
7
votes
1 answer

Disable ido-mode for specific commands?

I've been using ido-mode for a few months, with ido-everywhere turned on, and am generally pretty happy with it. There's one thing I wish I could change, though. When I type C-u M-x shell to create a new shell buffer with a specific name, ido…
Sean
  • 29,130
  • 4
  • 80
  • 105
7
votes
2 answers

Emacs will not visit new file but insists on opening a similar one

The problem is quite simple but frustrating. When I try to visit a new file with C-x C-f which is named basis.m emacs keeps visiting the similar named file haarbasis.m which already exists in the same directory. It keeps prompting me for similar…
mhourdakis
  • 179
  • 8
6
votes
1 answer

Org-refile with ido, not using ido as the completion engine

I'm trying to setup a capture/refile workflow using org-mode, and I'm having trouble getting ido working as the completion engine. I have ido enabled: (require 'ido) (setq ido-everywhere t) (ido-mode t) And then later in my configuration I try to…
Wilduck
  • 13,822
  • 10
  • 58
  • 90
5
votes
1 answer

Emacs: change Ido completion keymap in minibuffer

I use Ido mode and also use Ergoemacs mode, which binds find-file command to C-o. When you are browsing files, you can temporarily disable Ido by pressing C-x C-f inside minibuffer. I want to change it to C-o, so i can press it twice to run…
Mirzhan Irkegulov
  • 17,660
  • 12
  • 105
  • 166
5
votes
2 answers

copy paste various files using dired on emacs while using ido.el

I'm using emacs with dired, (require 'dired-details) (dired-details-install) and ido, (setq ido-enable-flex-matching t) (setq ido-everywhere t) (ido-mode 1) (setq ido-use-filename-at-point 'guess) (setq ido-create-new-buffer 'always) (as well as…
Massagran
  • 1,781
  • 1
  • 20
  • 29
5
votes
1 answer

In GNU Emacs, how to create new empty buffer with one keystroke?

How do I create a new empty buffer with a single keystroke? I can create a new buffer with C-x b and then entering a name. (I use ido-mode, so if I just hit RET it opens the most recent buffer.) I'd like a command to open a new untitled buffer…
incandescentman
  • 6,168
  • 3
  • 46
  • 86
5
votes
1 answer

Emacs ido: How to show particular file endings first?

I use ido-mode under Emacs 24 with the following settings: (ido-mode 1) (setq ido-enable-flex-matching t) (setq ido-everywhere t) (setq ido-use-filename-at-point 'guess) (setq ido-use-url-at-point t) (setq ffap-require-prefix t) Assume you have…
Marius Hofert
  • 6,546
  • 10
  • 48
  • 102
5
votes
2 answers

Get ido in dired buffers

I frequently use dired-mode and I recently started using ido: (ido-mode 1); enable ido-mode (setq ido-enable-flex-matching t); flexibly match names via fuzzy matching (setq ido-everywhere t); use ido-mode everywhere, in buffers and for finding…
Marius Hofert
  • 6,546
  • 10
  • 48
  • 102
4
votes
1 answer

Setting shortcuts keys in specific modes in Emacs (e.g. ido)

I have two problems which are somewhat related I believe: 1) In IDO I'd like to change ido-restrict-to-matches to samething else than C-SPC or C-@. Unfortunately I do not know how to tell emacs that I want a different shortcut (say C-0). 2) I'd like…
user673592
  • 2,090
  • 1
  • 22
  • 37
1
2 3 4 5