📜  vim 注释块 - 任何代码示例

📅  最后修改于: 2022-03-11 14:55:53.754000             🧑  作者: Mango

代码示例1
#for commenting:
Press ESC
:[StartNumber],[ENDNumber]s/^/#
:66,70s/^/#

for uncommenting:
Press ESC
:[StartNumber],[ENDNumber]s/^#/
:66,70s/^#/

#PS: To see line numbers:
Pres ESC
:set number