Skip to content
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

Allow to bind cursor navigation keys to input fields #65578

Closed
ethanyu336 opened this issue Dec 22, 2018 · 4 comments
Closed

Allow to bind cursor navigation keys to input fields #65578

ethanyu336 opened this issue Dec 22, 2018 · 4 comments
Labels
*duplicate Issue identified as a duplicate of another issue(s) feature-request Request for new features or functionality keybindings VS Code keybinding issues

Comments

@ethanyu336
Copy link

ethanyu336 commented Dec 22, 2018

i want to bind some key for moving cursor in quick open, i failed,
but i managed to bind some key in quick open to do sth like this,

`
{
"key": "ctrl+h",
"command": "workbench.action.closeQuickOpen",
"when": "inQuickOpen"
},

`

then , i tried to bind it to cursorWordLeft, it doesnt work,

{ "key": "ctrl+h", "command": "cursorWordLeft", "when": "inQuickOpen" },

Here are some issues I found in similar need.

  1. Support text editing keybindings customization for quick open input #11950 Support text editing keybindings customization for quick open input

  2. Allow to configure cursor keys for input fields #64694 Allow keybinds configuration in Open Search Bar (for example) or Find Widget (for another example)

Thanks for reply in advance!

@vscodebot vscodebot bot added the keybindings VS Code keybinding issues label Dec 22, 2018
@alexdima
Copy link
Member

The quick open input box is a native <input> element. It does not support commands like e.g. cursorWordLeft.

@chrmarti
Copy link
Contributor

chrmarti commented Jan 3, 2019

Using our InputBox, these should all behave the same. Is that yours @sandy081?

@chrmarti chrmarti assigned sandy081 and unassigned chrmarti Jan 3, 2019
@sandy081 sandy081 removed their assignment Jan 3, 2019
@sandy081 sandy081 removed the keybindings VS Code keybinding issues label Jan 3, 2019
@sandy081
Copy link
Member

sandy081 commented Jan 3, 2019

@chrmarti I do not own the InputBox widget

@chrmarti chrmarti added the feature-request Request for new features or functionality label Jan 3, 2019
@chrmarti chrmarti assigned bpasero and unassigned chrmarti Jan 3, 2019
@bpasero bpasero added the keybindings VS Code keybinding issues label Jan 4, 2019
@bpasero bpasero changed the title Hope for keybinds to moving cursor in quick open Allow to bind cursor navigation to input fields Jan 4, 2019
@bpasero bpasero removed their assignment Jan 4, 2019
@bpasero bpasero changed the title Allow to bind cursor navigation to input fields Allow to bind cursor navigation keys to input fields Jan 4, 2019
@russelldavis
Copy link
Contributor

Seems like this should be closed as a duplicate of #64694. There's a workaround that I posted as a comment there.

@alexdima alexdima closed this as completed Aug 8, 2019
@alexdima alexdima added the *duplicate Issue identified as a duplicate of another issue(s) label Aug 8, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Sep 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) feature-request Request for new features or functionality keybindings VS Code keybinding issues
Projects
None yet
Development

No branches or pull requests

7 participants
@russelldavis @bpasero @alexdima @chrmarti @sandy081 @ethanyu336 and others