首页 > 系统服务 > 详细

How to effectively work with multiple files in Vim?

时间:2016-04-26 00:25:16      阅读:264      评论:0      收藏:0      [点我收藏+]

参考: http://stackoverflow.com/questions/53664/how-to-effectively-work-with-multiple-files-in-vim
 You can use tabs (introduced in Vim 7) to switch between tabs with :tabn and :tabp, With :tabe <filepath> you can add a new tab; and with a regular :q or :x you close a tab. 

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)

How to effectively work with multiple files in Vim?

原文:http://www.cnblogs.com/qike/p/5433313.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!