문제

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.

도움이 되었습니까?

해결책

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.

다른 팁

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 !

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top