start | find | index | login or register | edit | ||
Samstag, 23. August 2008 link Annoyed by trailing whitespace? In Vim, to find it: /\s\+$ , then cycle thru matches with n and delete, if appropriate, with D . Yes, :set hlsearch may help. Alternatively, if you are totally sure that no trailing whitespace is ever wanted in your code: :%s/\s\+$// . Finally, if you want to visually indicate trailing whitespace using Vim's syntax highlighting:
no comments |
search 36 active users
backlinks (more) none, yet recent stores (more) recent comments echo earlZstrainYat|tr ZY @. |
|
earl.strain.at • esa3 • online for 8662 days • c'est un vanilla site |