> -Original Message-
> From: Karl Guertin [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 26, 2006 4:10 PM
> To: [EMAIL PROTECTED]
> Cc: VIM Help
> Subject: Re: Detecting when in omnicomplete
>
> On 9/26/06, [EMAIL PROTECTED]
> <[EMAIL PROTECTED]&
On 9/26/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
If you have a look at ftplugin/sql.vim it does this.
sql.vim does have different functionality based on whether the popup
menu is visible or not, but I don't see where it distinguishes between
omnicomplete and keyword completion. E.g. if
If you have a look at ftplugin/sql.vim it does this.
I override the ctrl-left|right keys. When pumvisible() is false I want to do
the default Vim behaviour. When it is true I want to perform special SQL
actions.
I was only able to do this via a mapping which called a function. But that does
k