linux(vi)多行注释和取消注释.

时间:2014-08-22 15:53:59   收藏:0   阅读:325

//comment
1,‘ctrl+v‘ to VISUAL BLOCK mode.
2,‘j‘ or ‘k‘ to select/deselect lines.
3,‘I‘ to INSERT mode.
4,‘#‘ and ‘ESC‘.

//uncomment
step ‘1‘,‘2‘ are the same.
‘d‘.

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!