[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] A not strictly groff question
From: |
Tadziu Hoffmann |
Subject: |
Re: [Groff] A not strictly groff question |
Date: |
Fri, 29 Jan 2010 11:30:48 +0100 |
User-agent: |
Mutt/1.5.17 (2007-11-01) |
> Perhaps I accept that annoying space after bQ and the like [...]
You don't need to. Do ":help abbreviations" in vim, copy the
function Eatchar (which is given as an example there) to your
.vimrc, and then
:iabbr lQ \[lq]<C-R>=Eatchar('\s')<CR>
:iabbr rQ <BS>\[rq]
(The last one assumes you always type a space before rQ, which
then gets eaten by the backspace. Of course, this might be
improved by testing whether it really is a space or not, and
only deleting it if it is.)
Re: [Groff] A not strictly groff question, Larry Kollar, 2010/01/29