ou can switch between tabs with :tabn and :tabp, With :tabe <filepath> you can add a new tab; and with a regular :q or :wq you close a tab. If you map :tabn and :tabp to your F7/F8 keys you can easily switch between files.

If there are not that many files or you don't have Vim 7 you can also split your screen in multiple files: :sp <filepath>. Then you can switch between splitscreens with Ctrl+W and then an arrow key in the direction you want to move (or instead of arrow keys, w for next and W for previous splitscreen)


for list of open buffers

  • :bp previous buffer
  • :bn next buffer
  • :bn (n a number) move to nth buffer
  • :b with tab-key providing auto-completion (awesome !!)

or when u are in normal mode ^ to switch to the last file u were working on

plus, you can save sessions of vim

:mksession! ~/today.ses 

saves the current open files buffers and settings to ~/today.ses. u can load that session by using

vim -S ~/today.ses 

no hassle of remembering where u left of the yesterday ;)