commit 75e09f64a19ee0d70d820caa9494286ffa605c9a from: mischa date: Sun Jul 19 07:02:38 2020 UTC modified trailing whitespace example commit - b6ae084f509f46cbdcacffe9e0fbf3b94180054e commit + 75e09f64a19ee0d70d820caa9494286ffa605c9a blob - fb3a8301d513cc77aa7adc401b28870c78d14710 blob + 7a9c18d028c0f17bfbf75cc47ac6af9a872c1a09 --- 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\+$// +
+:%s/ *$//
+
## Remove trailing whitespace from a block - :'k,'ls/\ *$// +
+:'k,'ls/\ *$//
+
## Remove the first N-characters from every line