Add "BufferSearchBar" to the context when it is opened (or add conditions for keybindings) #36930
hisbvdis
started this conversation in
Config, Settings and Keymaps
Replies: 3 comments 1 reply
-
|
@hisbvdis |
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
1 reply
-
|
@FloppyDisco , once I tried to create a small PR with adding highlight for JSX React Components. Unfortunatelly, I struggle with running project locally. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
VSCode allows to set keybinding conditionally.
For example, if
findWidgetVisible("Find panel" is opened), pressing theEscapebutton closes it.{ "key": "escape", "command": "closeFindWidget", "when": "editorFocus && findWidgetVisible" }I Zed after search it is needed to press Escape 3 times to close "Find panel".
And when the "Find panel" is opened it is not visible in the "Context stack", so I can't use it on creating keybindings
Video
Beta Was this translation helpful? Give feedback.
All reactions