-
Notifications
You must be signed in to change notification settings - Fork 28.8k
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
Interactive window input history navigation with up / down arrows conflicts with Vim extension keybindings #130425
Comments
In the meantime while we're investigating, you can rollback to the old implementation with this setting:
|
I figured out the problem. Maybe issue should be closed but history works fine in old implementation with enabled Vim. |
@yopparai - indeed, thanks for this. @greazer I can confirm history is working with Vim mode disabled. Is this something you guys could investigate or should an issue be raised on the Vim extension's github instead? |
@zwangz, we are actively investigating how to best handle this. If I may ask though, what would you prefer, ultimately? Are you suggesting that you prefer that the input box in the interactive window remains VIM disabled? Or would you prefer that VIM mode works there, just make sure that getting history works as well? |
@greazer If it delays the release of the history fix, then it's better to remove VIM from this input field I think. |
Hi @greazer, thanks for asking. Personally I would love to see vim mode work in the interactive window (loved it when first trying it so well done!) - so yes it'd be great if we can just get history working as well. |
@joyceerhl Ideally I would imagine the most intuitive way is to use up/down for history nav at least in Vim's insert mode. Or just "ctrl + up/down" like in iPython if that makes it easier? Can't think of others where interactive window should override at the moment as frankly I've not used it much yet. Re "esc" I'd prefer it to behave like in vim unless overridden explicitly. I guess also the less overriding the more consistent it would be with the main editor which is a good thing. |
Yes. Also I like @zwangz's option.
No. I did not find any other conflicting keybindings. |
* fix microsoft/vscode#130425 * insert mode only * only navigate history when the selection is empty
Can confirm this is fixed in Vim extension version v1.21.6. Great work thanks! @rebornix @greazer @joyceerhl |
Issue Type: Bug
I cannot use
UP
/DOWN
arrow keys for getting previous inputs from interactive window input field.But I could do it in previous extension versions.
(I talk about this input field)
Extension version: 2021.8.1195043623
VS Code version: Code 1.59.0 (379476f, 2021-08-04T23:13:20.182Z)
OS version: Linux x64 5.8.0-63-generic snap
Restricted Mode: No
System Info
gpu_compositing: disabled_software
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
opengl: disabled_off
rasterization: disabled_software
skia_renderer: enabled_on
video_decode: disabled_software
vulkan: disabled_off
webgl: unavailable_software
webgl2: unavailable_software
A/B Experiments
The text was updated successfully, but these errors were encountered: