VIM: Going to previous - next file on the same split
I guess many of you guys already know this, but this is for those who don't know it.
When you are in a vim split with one opened file, and then you open other in the same split (it will replace the last file in the current split):
- you can press Ctrl+O to go to the previous opened file
- and once you are in the previous one you can press Ctrl+I for going to the next one.
This works in the same way for both two files and for many files.
Written by Tonatiuh Núñez
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Vim
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#