tags:

views:

226

answers:

2

I strictly use vim, but I was playing with emacs and really like ido-mode when opening files. just start typing part of a filename and it narrows down the search and just press enter when the file you want is at the front of the list. is there anything similar for vim? i've been searching with no luck.

thanks

+1  A: 

vim has tab completion of file names, but unfortunately it shows the entire first match instead of just stopping when it reaches an ambiguity like bash tab completion does.

Paul Tomblin
+1  A: 

Theres some good quick file finder plugins like fuzzyfinder http://www.vim.org/scripts/script.php?script%5Fid=1984 that could enhance your experience. (Fuzzy Finder seems to do ambiguous selection)

Also you might want to look at wildmode tweaks options ala :he wildmode

The method I explained here doesnt to the ambigous trick but it is tab friendly.

http://stackoverflow.com/questions/526858/how-do-i-make-vim-do-normal-bash-like-tab-completion-for-file-names/526940#526940

michael