Commit Diff


commit - d44425a90700d4f1b973848bf8227ce29081e132
commit + 66a0e66d8e3e20cf294a9e15386506e59a4cf3df
blob - 80edf842eb455fad3045ab1857d8c23af383f2a8
blob + 2bda66a13ee8c42aa2416d4a0a206be2d2d20225
--- index.md
+++ index.md
@@ -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 %