edit icon indicating copy to clipboard operation
edit copied to clipboard

Add a command palette

Open lhecker opened this issue 6 months ago • 3 comments

We already got a fuzzy matcher (src/fuzzy.rs), now all we need is the matching command palette! We can then use it for representing the existing encoding picker, indentation picker, and file picker dialogs.

My biggest open question is: What shortcut do we use? If you take the union of all keyboard keys that popular terminals don't use for themselves already, you're practically left with only A-Z. 😢 Perhaps Ctrl+P is still our best bet, even if it doesn't work in VS Code.

As part of this we should solve #228.

lhecker avatar May 18 '25 15:05 lhecker

ctrl + shift + p is my suggestion. Thats also VSCode's default keybind for the command palette

juemrami avatar May 20 '25 03:05 juemrami

However, that opens the Windows Terminal palette by default 🙂

ryanmda avatar May 20 '25 11:05 ryanmda

Ctrl+L is burned into my muscle memory for doing everything in the browser. Or for some that would be Ctrl+K, which also matches VSCode.

expikr avatar Jun 01 '25 18:06 expikr