On Friday, March 3, 2017 at 8:13:47 AM UTC-5, Grégoire Verdier wrote:
> Hi !
> I'm using C-c instead of Esc and I've recently faced a problem when editing 
> sql files.
> 
> Whenever I press C-c to exit the insertion mode, it takes at least 2 or 3 
> seconds.
> 
> However, if I open the file like this `vim -u NONE test.sql` I don't have any 
> problem but I'm still reporting this because I've experienced it on different 
> computers and also on a fresh linux install.
> 
> Is the problem necessarily coming from a plugin or setting ?

On top of what Jürgen said, you can change

    g:ftplugin_sql_omni_key

so that it uses something other than <C-c>.  (There's also 
"g:omni_sql_no_default_maps" to avoid setting those maps entirely, but that 
might be overkill).

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui