There is a couple of useful commands that can be used to work with multiple files as tabs. I've mentioned them in a stackoverflow answer:
http://stackoverflow.com/a/14395583/612920
http://stackoverflow.com/a/14395583/612920
- Open a file in another tab
:tabe filepath - save the current session in order to be able to open the same set of files again
:mksession session_name.vim - navigate between different tabs
gt: next tab
gT: previous tab - close all tabs at once
:qa - open a saved session
vim -S session_name.vim
Or you can use vimtutor to learn alot of tips about vim
RépondreSupprimer