From 66a0e66d8e3e20cf294a9e15386506e59a4cf3df Mon Sep 17 00:00:00 2001 From: mischa Date: Sat, 6 Apr 2019 23:00:29 +0200 Subject: [PATCH] added # and trailing whitespace --- index.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/index.md b/index.md index 80edf84..2bda66a 100644 --- a/index.md +++ b/index.md @@ -21,6 +21,14 @@ Tutorials:
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 %