如何在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 <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.

  

posted @ 2014-06-16 14:01  Daniel King  阅读(260)  评论(0编辑  收藏  举报