-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Keys specified in vim.handleKeys aren't being handled #2162
Comments
same issue here. Environment
|
Ah, we're only handling the negation of |
Proposal: Remove This will be a breaking change as people will need to update their configs, but the configuration of the keys will be more obvious. |
I have |
Can you share your user settings? |
@jpoon Sure... Included is |
this is malformed. |
Care to elaborate? 😉 I figured as much, however, that really isn't my concern at the moment. the |
After the fix yesterday everything else (in my use-case) works fine, except C-d
Sounds like a visual studio code issue? But if make Environment
|
It's likely this line (https://github.com/VSCodeVim/Vim/blob/master/src/mode/modeHandler.ts#L288), but it's not obvious to me right now why we had to remap it. |
Interesting. The easiest thing would be to remove the key entirely. I don't use multi-cursor all that much so not sure if this would break a lot of people. |
You are right, the reason of that remapping is vague, I assumed it. Yes, it's not logical to have useCtrlKeys and handleKeys working together, remove that useCtrlKeys is fine, but then users have to config every ctrl keys into handleKeys ( did it yesterday), a little bit inconvenient, some people just want to enable/disable several keys while leaving rest of keys unchanged. Maybe rename useCtrlKeys to useCtlKeysByDefault? It sounds better, lol. Also, I'm new to github, messing around everything resulting into these repeating commits, they are already being hard reset, but still appearing in this page, is there a way to remove these redundant commits, or make them disappear on this page? |
Oops, sorry missed your comment. Yeah, agree that it might be a bit cumbersome to all those configs in. Let's leave it the way it is.
No, that would unnecessarily break everybody's config. My knowledge gap right now is why we needed the |
The VSCodeVim team prioritizes issues based on reaction count.
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
BUG REPORT
Environment:
What happened:
Using these configuration options:
When using
<C-o>
,<C-i>
or<C-r>
, the keys are handled by VSCode. E.g.<C-o>
displays the File Open dialog.What did you expect to happen:
Using keys marked as
true
in thevim.handleKeys
section should be handled as vim bindings.<C-o>
and<C-i>
should navigate the jump list.<C-r>
should redo.How to reproduce it:
Set
useCtrlKeys
to false, and handle specific key bindingsPress
<C-o>
. The File Open dialog is shown.I've confirmed this last worked in 0.10.2 by installing the vsix file. The behaviour breaks in 0.10.3.
The text was updated successfully, but these errors were encountered: