Pergunta

I use VIM 7.2 on Windows, with the latest netrw (141i, Jan 03 2011).

I use netrw for browsing remote FTP directors. Right now, when I want to navigate to a certain file, I type /<filename> and VIM's own search function gets the cursor there. I then have to hit ENTER twice (once to exit search mode, and then again to make netrw "execute" that file).

I'm sure there's a better way to do this. Any ideas?

Thank you.

Foi útil?

Solução

It seems that you have the 'incsearch' setting which displays occurrences of a pattern as you type it. It is necessary to hit enter to validate the pattern, then you're back to your buffer.

Maybe the Fuzzyfinder plugin could help you be quicker.

Outras dicas

You can use : set incsearch in your .vimrc to enable incremental search.

You'll still have to type <Enter> twice but you won't have to type the complete filename !

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top