如何在vim中同时编辑多个文件

参考:http://stackoverflow.com/a/53668/941650

Why not use tabs (introduced in Vim 7)? You can switch between tabs with :tabn and :tabp, With :tabe  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.

  

转载于:https://www.cnblogs.com/long123king/p/3790833.html

你可能感兴趣的:(如何在vim中同时编辑多个文件)