Re: Attach a sig in vim?
- From: Ohmster <nowayin@xxxxxxxx>
- Date: Mon, 16 Jul 2007 06:46:02 +0200 (CEST)
Troy Piggins <usenet-0707@xxxxxxxxx> wrote in
news:20070716071649@xxxxxxxxxxxxxxxx:
TryHave you considered a VIM abbreviation?
:$r ~/.sig
If you use this often, you'll probably want to map it to something.
In my Usenet setup, I type \g to insert a signature (chosen
randomly by a Perl script). The mapping also turns on spell
checking, which is nice for the end of a post, but which can be
annoying when I'm trying to type.
iab xsig -- <CR>Fred Smith<CR>http://www.fredsmith.org/<CR>
Uhhhhh, what? What does all that mean? I am reading your page in your
sig, zz, but it is a lot to digest. I will have to bookmark this
under vim and come back to it again and again, I see.
:help iabbrev
When in insert mode, if you type "xsig" (without the "") it is
automatically expanded to the string following, which is the sig
delimiter followed by your sig. Try it.
Uh no, that did not do anything. Rats!
--
Troy Piggins | http://piggo.com/~troy __ ___
RLU#415538 \ \ / (_)_ __ ,-O
(o- O
\ V /| | ' \ O )
//\ O
Vim 7.1
--
~Ohmster
ohmster /a/t/ ohmster dot com
Put "messageforohmster" in message body
(That is Message Body, not Subject!)
to pass my spam filter.
.
- References:
- Re: Attach a sig in vim?
- From: Troy Piggins
- Re: Attach a sig in vim?
- Prev by Date: Re: Best Linux Magazine?
- Next by Date: Re: Dell Ubuntu UK laptops
- Previous by thread: Re: Attach a sig in vim?
- Next by thread: Re: Attach a sig in vim?
- Index(es):
Relevant Pages
|