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
Keybinding for cursorWordPart* collides with moveEditorTo*Group #53671
Comments
These keybindings existed before grid (possibly a couple of years by now) so I think they should not be overwriting established keybindings. |
@bpasero Not sure understand your comment. Sub-Nav is new feature released on stable and conflicts. So someone needs to fix sub-nav keyboard shortcuts or update old keybindings to work with new features. I am on Windows and this is a problem |
I've actually tried to fix the keybinding conflict and still find that sub-word navigation shortcuts don't work. |
I figured out the issue. Seems the keybindings are applied in order. I recreated the sub-nav keybindings in the User file and they superseded the Global bindings. That said, if you want both functions I think you either need to create different mappings or change the global items' "when" condition. Unfortunately the VS docs are a bit cryptic, IMHO, on the different focuses. I mean editorFocus,textInputFocus read almost the same |
I will remove the conflicting keybindings on Windows and Linux. If you wish to use sub-word navigation, you can define the following in the keybindings.json:
This is also documented in the release notes |
Default key bindings for
I actually had to change the
|
We have written the needed data
Issue Type: Bug
With the introduction of sub word navigation (thanks a lot) after upgrading from 1.24.x to 1.25.0 there is a conflict with the following keybindings:
"ctrl+alt+right"
is mapped to"cursorWordPartRight"
and"workbench.action.moveEditorToNextGroup"
"ctrl+alt+left"
is mapped to"cursorWordPartStartLeft"
and"workbench.action.moveEditorToPreviousGroup"
I know that the sub word nav commands are also bound to
"when": "textInputFocus"
, but that does not work. While in editor has focus and cursor blinks, if I press"ctrl+alt+right"
the editor is moved to next group, which is wrong.Other commands like
"ctrl+right"
("cursorWordEndRight"
) works like indented.VS Code version: Code 1.25.0 (0f080e5, 2018-07-05T13:11:58.697Z)
OS version: Windows_NT x64 6.1.7601
System Info
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: unavailable_software
video_decode: enabled
video_encode: enabled
vpx_decode: unavailable_software
webgl: enabled
webgl2: enabled
Extensions (28)
(2 theme extensions excluded)
The text was updated successfully, but these errors were encountered: