vim
Thilo Six
T.Six at gmx.de
Die Jan 23 22:14:17 GMT 2007
Reinhard Müller wrote the following on 23.01.2007 20:27:
>> autocmd BufWritePre,FileWritePre * :%s/[ \t]\*$//
>
> :%s/[ \t]*$//
>
> Der Stern muss nicht escaped werden.
>
> lg,
>
ich habs ;)
autocmd BufWritePre,FileWritePre * silent! :%s/[ \t]\+$//
^^^
mit hilfe von http://rayninfo.co.uk/vimtips.html
"automatically delete trailing Dos-returns,whitespace
autocmd BufRead * silent! %s/[\r \t]\+$//
trotzdem nochmal danke! ;)
gute nacht Thilo
--
i am on Ubuntu 2.6 KDE
- some friend of mine
gpg key: 0x4A411E09