On Wed, Jun 09, 2010 at 11:31:40PM +0200, Tymoteusz Jankowski wrote:
> Could you give me some hints how fast achieve that, the best is where
> I reuse/develop existing solution?

Check the fuzzyfinder plugin. It can provide you with a list of
files/dirs, which you can filter merely by typing the name of the file
you want. It is fuzzy, so you can type an approximation of the name of
the file you want. It can also do recursive searching; you can ask it
for a list of all the files in or under a given dir, and filter that
list.

My current settings for the plugin (you can put these in your .vimrc):

" open file, from the current vim dir
noremap ,o :FufFile<CR>

" select one of the loaded buffers
noremap ,v :FufBuffer<CR>

" open file, from the dir the current file lives into
noremap ,a :FufFileWithCurrentBufferDir<CR>

" jump to line
noremap ,j :FufLine<CR>

" this lets you type d: and get in your list of files all the files in
" the actual dir and its subdirs
let g:fuf_abbrevMap = {
      \   "^d:" : [
      \     './**/',
      \   ],
      \   "^h:" : [
      \     '~/',
      \   ],
      \   "/d:" : [
      \     '/**/',
      \   ],
      \ }



-- 
Javier Rojas

GPG Key ID: 0x24E00D68

Attachment: signature.asc
Description: Digital signature

Reply via email to