📜  vim 注释掉多行 - Shell-Bash 代码示例

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

代码示例1
# To comment
Press ESC
hit V
Move the cursor until desired lines to comment
hit :
'<,'>s/^/#/g

# To uncomment
Do the same, but command is:
'<,'>s/^#//g

# '<,'> indicates the range you've selected with VISUAL MODE.