vim命令模式删除指定字符 vim命令模式 删除指定字符g for global #delete all <char> in current file:%s/<char>/[4replace]/g#delete <char> from line 10 to 33 in the file:10,33s/<char>/[4replace]/g#delete <char> form line n to the end in the file:n,$s/<char>/[4replace]/g