Vim Tips Wiki
Advertisement
Tip 486 Printable Monobook Previous Next

created June 16, 2003 · complexity basic · author Jakob Frandsen · version 5.7


This is very simple:

:noremap <F1> #*

I find this helpful when editing multiple files and I want to search for the word under the cursor in *another* file.

I then type F1, C-^, n.

Comments


Advertisement