added # and trailing whitespace

This commit is contained in:
mischa 2019-04-06 23:00:29 +02:00
parent d44425a907
commit 66a0e66d8e

View File

@ -21,6 +21,14 @@ Tutorials:<br />
2) mark the last line: ml
:'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
:w !doas tee %