-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] wrote:
If you have a look at ftplugin
I'm playing around with keybindings and omnicompletion and I'd like a
special set of keybindings when pumvisible() and it's an omnicomplete
match. I can mostly do this by setting a buffer variable in all my
mappings that would cause me to enter/exit omnicomplete, but I keep
missing edge cases. Is
keept it neat and tidy.
HTH,
Dave
- Original Message -
From: Karl Guertin [EMAIL PROTECTED]
Sent: 09/26/2006 11:50 AM
To: VIM Help vim@vim.org
Subject: Detecting when in omnicomplete
I'm playing around with keybindings and omnicompletion and I'd like a
special set of keybindings when
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