added # and trailing whitespace
This commit is contained in:
parent
d44425a907
commit
66a0e66d8e
8
index.md
8
index.md
@ -21,6 +21,14 @@ Tutorials:<br />
|
|||||||
2) mark the last line: ml
|
2) mark the last line: ml
|
||||||
:'k,'ls/regex/power/g
|
:'k,'ls/regex/power/g
|
||||||
|
|
||||||
|
#### Add # to block of text
|
||||||
|
|
||||||
|
:'k,'ls/.*/#&/
|
||||||
|
|
||||||
|
#### Remove trailing whitespace of block of text
|
||||||
|
|
||||||
|
:'k,'ls/\ *$//
|
||||||
|
|
||||||
#### Write file as root
|
#### Write file as root
|
||||||
|
|
||||||
:w !doas tee %
|
:w !doas tee %
|
||||||
|
Loading…
Reference in New Issue
Block a user