-
Notifications
You must be signed in to change notification settings - Fork 28
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
Not picking up j/k repeating when using NvChad distro #31
Labels
bug
Something isn't working
Comments
Does hardtime.nvim not pick up only j/k repeating? How about other keys? |
Also running NvChad and am having this issue. I am wondering if it is due to NvChad's j/k mapping https://github.com/NvChad/NvChad/blob/v2.0/lua/core/mappings.lua#L40 |
Please delete the NvChad's j/k mapping and move them into keys setting of hardtime.nvim. This should make sure the keymap is loaded before the pluglin. {
"m4xshen/hardtime.nvim",
dependencies = { "MunifTanjim/nui.nvim", "nvim-lua/plenary.nvim" },
lazy = false,
keys = {
{ "j", 'v:count || mode(1)[0:1] == "no" ? "j" : "gj"' },
{ "k", 'v:count || mode(1)[0:1] == "no" ? "k" : "gk"' }
},
opts = {}
} |
Thank you! |
nooproblem
changed the title
j/k not repeating when using NvChad distro
Not picking up j/k repeating when using NvChad distro
Aug 22, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Firstly, thanks for making this amazing plugin! I am using the NvChad distro, and I have installed hardtime.nvim using Lazy and set lazy = false so the plugin is enabled on startup. I have run into a odd situation where it hardtime.nvim does not pick up j/k repeating. I can fix this issue by running ":Hardtime toggle" twice (or ":Hardtime disable" and then ":Hardtime enable") in order to switch hardtime.nvim off/on. Any thoughts on why this might occurring would be appreciated!
The text was updated successfully, but these errors were encountered: