Open alexanderjeurissen opened 7 years ago
I think the issue lies in the fact that -
is part of the default keys that are limited.
let g:list_of_normal_keys = ["h", "j", "k", "l", "-", "+", "<UP>", "<DOWN>", "<LEFT>", "<RIGHT>"]
let g:list_of_visual_keys = ["h", "j", "k", "l", "-", "+", "<UP>", "<DOWN>", "<LEFT>", "<RIGHT>"]
let g:list_of_insert_keys = ["<UP>", "<DOWN>", "<LEFT>", "<RIGHT>"]
let g:list_of_disabled_keys = []
However the expected behaviour is different in this case because vim-hardtime not only does limit repeatedly pressing -
it blocks vim-vinegar from triggering on the first keypress aswell.
@tpope mentioning you here so you are aware of this issue.
Probably not an easy or worthwhile fix, an update to the documentation outlining this limitation would be useful instead.
This plugin introduces a map on the
-
key that conflicts with the invocation of vim-vinegar.not sure what the reason of this map is but when looking at active mapings I saw the following:
in other words somehow vim-hardtime tries to wrap the
-
mapping but it never invokes vinegar.