modified trailing whitespace example
This commit is contained in:
parent
b6ae084f50
commit
75e09f64a1
8
index.md
8
index.md
@ -54,12 +54,16 @@ Tested with [nvi](https://en.wikipedia.org/wiki/Nvi) 1.79 and 2.1.3 (unicode).
|
||||
|
||||
## 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
|
||||
|
Loading…
Reference in New Issue
Block a user