Question

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.

Was it helpful?

Solution

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.

OTHER TIPS

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 !

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top