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

For those having hard triggering keymaps. (timeoutlen = 100) #30

Open
CharlesChiuGit opened this issue Jun 18, 2022 · 1 comment
Open

Comments

@CharlesChiuGit
Copy link

CharlesChiuGit commented Jun 18, 2022

I adopt this config and found out my old keymap can't trigger or having a triggering it. After 2 days of debugging it, it was the timeoutlen = 100 that causing the issue, remove it resolve the issue.

Or set it like this:

In vim script:

set timeoutlen=1000 ttimeoutlen=0

In lua:

vim.opt.timeoutlen = 1000,
vim.opt.ttimeoutlen = 0,

Other reference:
link 1
link 2
link 3

@bruteforks
Copy link

yeah had this problem adapting your neovim from scratch course. was preventing jj from triggering

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

2 participants