Christoph Maurer schrieb:
<----------------------- begin cut ----------------------> " Automatically cut signatures au BufRead /tmp/mutt* :normal g/^> -- $/,/^$/-1d^M/^$^M^L <------------------------ end cut ----------------------->
Hier meine Lösung, ich bin mit dem Ansatz auch nicht weitergekommen, habe mir jetzt drei Makros gebastelt <---------------------begin cut----------------------------> map ,kqs gg/> *-- *$<CR>^V /^ *-- *$/-2i<CR>d map ,kqe gg/> *-- *$<CR> VGd map ,ks gg/^ *-- *$<CR> VGd <---------------------end cut------------------------------>
Hallo, bei mir klappt folgendes: :normal :g/^> -- $/,/^$/-1d^M/^$^M:0/^$^M/^$^M Wichtig: die Zeichen ^M werden nicht einfach getippt, sondern im Einfuegemodus mit CTRL-V + ENTER erzeugt. Gruss Michael -- Michael Baumeister E-mail: m.baumeister@gmx.de --------------------------------------------------------------------- To unsubscribe, e-mail: suse-linux-unsubscribe@suse.com For additional commands, e-mail: suse-linux-help@suse.com