首页 > Linux Vim 编辑器|批量注释与批量取消注释
Vim 编辑器|批量注释与批量取消注释
添加注释
1、ctrl + v 进入块选泽模式。
2、上下键选中需要注释的行。
3、按大写 I 进入插入模式,输入注释符。
4、按两次 ESC 退出,即完成添加注释。
取消注释
1、ctrl + v 进入块选泽模式。
2、上下键选中需要注释的行。
3、按小写 x 删除注释符。
4、按 ESC 退出,即完成取消注释。
责任编辑:iclound.net
文章来源:https://www.iclound.net/2021/1231/105.shtml