Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delay when InsertEnter event is triggered #15

Closed
jinmiaoluo opened this issue Mar 19, 2020 · 2 comments
Closed

Delay when InsertEnter event is triggered #15

jinmiaoluo opened this issue Mar 19, 2020 · 2 comments

Comments

@jinmiaoluo
Copy link

jinmiaoluo commented Mar 19, 2020

Hi there,

I am suffering a problem cause by timeoutlen option, which will cause a 1000ms delay before automatically change input method. If anyone suffers the same problem. You should adjust your timeoutlen like this

" in vimrc
...
set timeoutlen=1000 
set ttimeoutlen=0

FYI.

@jinmiaoluo
Copy link
Author

refer: #9

@jinmiaoluo
Copy link
Author

If Vim is started normally and no user vimrc file is found, the
$VIMRUNTIME/defaults.vim script is loaded.  This will set 'compatible' off,
switch on syntax highlighting and a few more things.  See the script for
details.  NOTE: this is done since Vim 8.0, not in Vim 7.4. (it was added in
patch 7.4.2111 to be exact).
'ttimeoutlen' 'ttm'	number	(default -1, set to 100 in |defaults.vim|)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant