Article View: news.software.readers
Article #59593Re: slrn - message-id generation with vim autocommand
From: Sven Guckes
Date: Fri, 24 Mar 2000 00:00
Date: Fri, 24 Mar 2000 00:00
25 lines
1856 bytes
1856 bytes
* Thomas K๏ฟฝhler <jean-luc@picard.franken.de>:
> > au BufNewFile,BufRead \
> > ~/.article,~/.followup \
> > let @"="Message-ID: <".strftime("%Y%m%d%H%M")."@guckes.net>\n"\
> > |exe 'norm 1G}""P'
> >
> > Yes, this autocommand is broken across lines
> > where the backslashes ('\') at the end of
> > the line indicate a "continuation line".
> I don't believe this will work (:-)
Right - Vim's autocommands must be given on one line.
I don't like that myself and I'd rather have Slang as an
internal language to Vim - but then who would use "jed"? ;-)
(And, no, I would not choose Lisp, thankyouverymuch.)
Sven
--
Sven Guckes HOLY WARS of Usenet guckes-holy-wars@math.fu-berlin.de
HOLY EDITOR: emacs|vi TEXT: text/plain|base64|quoted-printable
HOLY PAGER: less|more SHELL: sh|bash|ksh|tcsh|zsh (csh is dead!)
HOLY OS: linux|windows* TABU: indentprefix="> " sigdashes=ON
Technical Details
Message-ID:
<slrn-0.9.6.2.200003242142@guckes.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.editors.mbox.zip!not-for-mailReferences:
<200003230532@guckes.net> <slrn8dm9l7.jrp.jean-luc@picard.franken.de>Show Full Headers
Complete Article Headers
Message-ID: <slrn-0.9.6.2.200003242142@guckes.net> Subject: Re: slrn - message-id generation with vim autocommand Date: Fri, 24 Mar 2000 00:00:00 +0000 From: guckes@math.fu-berlin.de (Sven Guckes) References: <200003230532@guckes.net> <slrn8dm9l7.jrp.jean-luc@picard.franken.de> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.editors.mbox.zip!not-for-mail X-Deja-AN: 601906595 Content-Transfer-Encoding: 8bit Followup-To: comp.editors Content-Type: text/plain; charset=iso-8859-1 X-Editor: Vim-506 http://www.vim.org X-Trace: fu-berlin.de 953930766 5101170 160.45.41.21 (16 17 19) Organization: Freie Universitaet Berlin Mime-Version: 1.0 User-Agent: slrn/0.9.6.2 (SunOS) Reply-To: guckes@vim.org Newsgroups: news.software.readers,comp.editors