Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is there a vim equivalent of Emacs' ido mode (video)?

What I mean is that I want to type

:e a

and it should show me a shortened list of files starting with 'a'. When I type b, it would automatically update this list to show only files starting with 'ab'.

Vim's wildmenu does not cut it as it is not updated interactively as I type (as it is in Emacs). I have to constantly press <TAB> for it to update (after I type anything).

In other words I'm looking for something similar to CtrlP, but something that would integrate itself with vim's command line and would work for all cases whenever wildmenu could be/is used (not something invoked via a special shortcut).

share|improve this question
add comment

3 Answers

up vote 1 down vote accepted

Just like with emacs, fuzzy/as-you-type completion doesn't exist in vim so you need a script. Maybe vim.org has what you want?

SkyBison would be close to what you want: it is halfway between IDO and CtrlP.

https://github.com/paradigm/SkyBison

share|improve this answer
    
It's a far cry from Emacs' IDO. But for the lack of a better alternative, I'm going to accept this answer. –  Paweł Gościcki Nov 10 '13 at 10:56
add comment

There is nothing built into Vim that does what you want. It is possible someone has attempted to write a Vim plugin that adds this behavior, but I did not spot anything with a quick Google search.

Edit: There are some plugins for in-buffer, as-you-type auto completion, but I am not aware of any that work on the :-command line.

share|improve this answer
add comment

I believe FuzzyFinder will do what you want: https://bitbucket.org/ns9tks/vim-fuzzyfinder/

share|improve this answer
    
Not really. I've used it before. CtrlP is much better than that. Also, I want something to complete my command line commands (like :e) with filenames, not something separate like this plugin. –  Paweł Gościcki Oct 10 '13 at 19:45
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.