sponsor Vim development Vim logo Vim Book Ad

basic Tip #109: jump between files

 tip karma   Rating 31/27, Viewed by 2768 

Read and edit this tip on the Vim tip wiki. The wiki may have a more recent version of this tip.

created:   September 6, 2001 2:53      complexity:   basic
author:   kirillm      as of Vim:   5.7

Often I know I'm likely to edit many files. I run 'vim *.pl' and get a whole bunch of open files.

To make jumping between files to a pleasure, I defined to mapss:

map <f1> :previous<cr>
map <f2> :next<cr>

Press F1 to go back and F2 to go forward.

--
Kirill

 rate this tip  Life Changing Helpful Unfulfilling 

<< Toggle a fold with a single keystroke | text->html table converter. >>

Additional Notes

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Sponsored by Web Concept Group Inc. SourceForge.net Logo