Authors of SublimeText2 make great job with Fuzzy searching. In the past I've used
Command-T and
CtrlP plugins but both of them doesn't works well for me. Then i found
Gpicker project it is written in C so its very fast and can be used in two most powerful editors: VIM (gpicker.vim) or Emacs (gpicker.el). I'm using now gpicker for both of them. It's not so powerful like SublimeText but it get the job done very well.
You can install gpicker in ubuntu
$ sudo apt-get install gpicker
Next step is to configure your favourite editor. In VIM you must put
gpicker.vim to
~/.vim/plugins directory (or use any other technique pathogen, vundle or whatever). In emacs you must load gpicker.el in your init.el file (I'm using prelude for that ~/.emacs.d/vendor/). It is working out of the box for me (Ubuntu 12.04, Vim 7.3.429, Emacs-snapshot - 24.1.50.1).
My key bindings in VIM:
map <Leader>p :GPickFile<CR>
noremap <C-p> :GPickFile<CR>
map <Leader>. :GPickBuffer<CR>
Final result:
Gpicker in VIM
Gpicker in Emacs
You can use it in shell too:
You can look in my
vim dotfiles for more information. If you want try my VIM configs you can run command below in your shell
$ curl -L https://raw.github.com/exu/vim-dotfiles/master/gitinstall|bash
WARNING this command will kill your .vimrc file and .vim/ directory so BACKUP your old configs! look at https://raw.github.com/exu/vim-dotfiles/master/gitinstall for more details