8000 Conflicts with tpope/vim-vinegar · Issue #48 · takac/vim-hardtime · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Conflicts with tpope/vim-vinegar #48

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

Open
alexanderjeurissen opened this issue Feb 7, 2017 · 3 comments
Open

Conflicts with tpope/vim-vinegar #48

alexanderjeurissen opened this issue Feb 7, 2017 · 3 comments

Comments

@alexanderjeurissen
Copy link
alexanderjeurissen commented Feb 7, 2017

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:
screen shot 2017-02-07 at 23 58 13

in other words somehow vim-hardtime tries to wrap the - mapping but it never invokes vinegar.

@alexanderjeurissen
Copy link
Author

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.

@alexanderjeurissen
Copy link
Author

@tpope mentioning you here so you are aware of this issue.

@takac
Copy link
Owner
takac commented Jun 8, 2017

Probably not an easy or worthwhile fix, an update to the documentation outlining this limitation would be useful instead.

robert-claypool pushed a commit to robert-claypool/nvim that referenced this issue Dec 11, 2018
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
0