Commit Diff
--- index.md +++ index.md @@ -54,12 +54,16 @@ Tested with [nvi](https://en.wikipedia.org/wiki/Nvi) 1 ## Remove trailing whitespace from every line - :%s/\s\+$// +<pre> +:%s/ *$// +</pre> ## Remove trailing whitespace from a block - :'k,'ls/\ *$// +<pre> +:'k,'ls/\ *$// +</pre> ## Remove the first N-characters from every line