vim -p < file1 > < file2 >
You can see that you can open multiple files and go to next file without saving (something you cannot do in multiple buffer). Youcan switch between files using tabn/tabp, but I do it as follows and use F5/6.
:map <f5> :tabp <cr>
:map <f6> :tabn <cr>
No comments:
Post a Comment