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

//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'.

posted @ 2014-08-22 14:24  wonkju  阅读(1295)  评论(0)    收藏  举报