🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #8026

Re: signature other than ~/.signature?

#8026
From: Sven Guckes
Date: Mon, 30 Sep 1996 00:00
32 lines
1925 bytes
schwarz@physik.tu-berlin.de (Georg Schwarz):
> >        map ,s :r!agrep -d "^-- $" ~/public_html/sig/SIGS<ESC>b
> so do I explecitely have to include it each time I write an article?

Well, yes, but if your editor is smart enough then you can automate this.
With VIM you can append your signature with this ":autocmd":

	autocmd BufRead nn.* :normal G|:r ~/.signature^M

Just stuff this into your vimrc and you shall see your signature appended
automagically every time you compse a new post.  :-)

> Can't I make nn do that automatically
> (restricting myself to just one signature)?

Sure - hack the code.  :-)

But you need not restrict yourself to one signature with the method I described.
You could let VIM add a signature by default (:autocmd) and use a mapping
that will extract a signature from your signature collection (",s").

Sven

-- 
Sven Guckes@math.fu-berlin.de - VIM ("Vi IMproved")  | Available for Amiga,
VIM Latest version : VIM4.2 - released on 960622     | Atari, DOS, Macintosh,
VIM Pages: http://www.math.fu-berlin.de/~guckes/vim/ | OS/2, UNIX, VAX, VMS,
VIM FAQ:   http://www.grafnetix.com/~laurent/vim     | Windows NT, Windows 95.


Technical Details
Message-ID: <slrn54vqn0.hdc.guckes@somerville.math.fu-berlin.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!not-for-mail
References: <52o0q6$o3q@brachio.zrz.TU-Berlin.DE> <slrn54vik8.h5c.guckes@somerville.math.fu-berlin.de> <52ol53$jnf@brachio.zrz.TU-Berlin.DE>

Show Full Headers
Complete Article Headers
Message-ID: <slrn54vqn0.hdc.guckes@somerville.math.fu-berlin.de>
Subject: Re: signature other than ~/.signature?
Date: Mon, 30 Sep 1996 00:00:00 +0000
From: guckes@somerville.math.fu-berlin.de (Sven Guckes)
References: <52o0q6$o3q@brachio.zrz.TU-Berlin.DE> <slrn54vik8.h5c.guckes@somerville.math.fu-berlin.de> <52ol53$jnf@brachio.zrz.TU-Berlin.DE>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!not-for-mail
X-Deja-AN: 186242969
Organization: Freie Universitaet Berlin
X-access: 16 17 19
Reply-to: guckes@math.fu-berlin.de
Newsgroups: news.software.nn