Skip to content

how can i allow j,k repetition. #73

Answered by kang8
niksingh710 asked this question in Q&A
Discussion options

You must be logged in to vote

you can set max_count to 15, which permits repetition up to 15 times;However, this will also apply the 15 times repetition limit to all restricted_keys, include h, l, and others.

-- Hardtime
require('hardtime').setup {
  max_count = 15,
}

Alternatively, you can overwrite the restricted_keys configuration to remove the restrictions on j and k. This change will allow an unlimited number of repetitions for these keys without any restrictions.

-- Hardtime
require('hardtime').setup {
  restricted_keys = {
    ['j'] = {},
    ['k'] = {},
  },
}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by niksingh710
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants