groff
[Top][All Lists]
Advanced

[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: Sat, 30 Jan 2010 16:24:58 +0100
User-agent: Mutt/1.5.17 (2007-11-01)

> There is a line after the Eatchar function:
> 
>   iabbr <silent> if if ()<Left><C-R>=Eatchar('\s')<CR>
> 
> Is this a necessary companion of the Eatchar function?
> This seems to be a protection against eating into text, but
> should not this begin with ":" ?  And the double "if", isn't
> it suspicious?

No, you don't need this line.  It is an example of eating up
the space after an abbreviation, in this case expanding "if"
to "if ()", placing the cursor within the parentheses.

(And if the stuff is in the .vimrc file, it doesn't need to
begin with ":".)






reply via email to

[Prev in Thread] Current Thread [Next in Thread]