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

J and K repeats are not blocked #3

Closed
delightfulabyss opened this issue May 28, 2023 · 4 comments
Closed

J and K repeats are not blocked #3

delightfulabyss opened this issue May 28, 2023 · 4 comments

Comments

@delightfulabyss
Copy link

delightfulabyss commented May 28, 2023

H and L repeats are being blocked as expected but J and K repeats are being allowed.

Using Neovim 0.9.0 and Ubuntu 22.04.

{
"m4xshen/hardtime.nvim",
opts = {},
}

Config is here

@m4xshen
Copy link
Owner

m4xshen commented May 28, 2023

I just added gk and gj to the restricted_keys. Update the plugin and the problem should be solved.

@m4xshen m4xshen closed this as completed May 28, 2023
@PeretEtienne
Copy link

Despite gk and gj being added to the restricted_keys, I am still able to spam those keys with neovim. Do you know what could cause this or how I could investigate this problem ? Thx

@m4xshen
Copy link
Owner

m4xshen commented Nov 25, 2024

Hi @PeretEtienne, have you tried #31 (comment)?

@PeretEtienne
Copy link

Just tried it and it looks like the colon in "v:count" is interpreted and all it does is launching me a command with "count || mode(1)[0:1] == "no" ? "j" : "gj"' as content. I am on Lazyvim btw, I don't know if it makes a difference

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

3 participants