码迷,mamicode.com
首页 > 系统相关 > 详细

column mode in VIM

时间:2015-08-13 12:12:05      阅读:234      评论:0      收藏:0      [点我收藏+]

标签:vi   vim   column mode   

1. Move the cursor to the position where you want to operate.
2. Press CTRL + v into "visible" mode, select the column to operate on each row.
     select multiple coulmns using left/right arrow
     select multiple rows using up/down arrow
3. Enter  SHIFT + i (I) to insert the contents which you want to input.
4. Press ESC twice, the inserted contents appear in selected areas of the each row.

版权声明:本文为博主原创文章,未经博主允许不得转载。

column mode in VIM

标签:vi   vim   column mode   

原文地址:http://blog.csdn.net/quincyfang/article/details/47608569

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!