I've recently started using VIM (7.2) in Windows and have been trying to use the OMNI completion feature when editing SQL.
When at the start of a new line it appears to work fine. For example, if I am in insert mode and type:
se <C-C>a
then the word 'select' appears. If I then try and use OMNI completion on any other word on the same line then I get the 'Pattern not found' error.
I get the same error if, when on a new line, I type a space before typing the ' se'.
Is this the intended behavior? Or is there something I need to configure to make this work?