mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-24 20:14:58 -05:00
enhancement: more keyboard shortcuts #398
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @robertvazan on GitHub (Mar 3, 2024).
Is your feature request related to a problem? Please describe.
It's a bit subjective, but current selection of shortcuts is a poor fit. There's a shortcut for settings, which are rarely accessed and not keyboard-friendly anyway. On the other hand, I often edit the last prompt instead of asking followup questions and there's no shortcut to start editing it and no shortcut to submit changes.
There are no shortcuts in the new Playground either, which makes it impossible to use the playground in the streamlined fashion described in #987. Notice the wide range of shortcuts in NovelAI (although NovelAI made the mistake of using Alt, which is impractical on keyboards that replace right Alt with AltGr).
Current WebUI shortcuts use three-key combinations, which are usually only used in text editors with several dozen shortcuts. Simpler two-key shortcuts should be used whenever possible.
Describe the solution you'd like
Maybe collect a list of the most common workflows and optimize shortcuts for them, preferring the more ergonomic shortcuts for the most frequent actions.
@ddegner commented on GitHub (Mar 7, 2024):
I can't find the keyboard shortcuts. But in the same vein, I would love a shortcut for "New chat".
@robertvazan commented on GitHub (Mar 7, 2024):
@ddegner You are not alone: #1007. Look at the bottom right corner of the screen.
@MatthewK78 commented on GitHub (Mar 12, 2024):
There's another keyboard shortcut that I absolutely love in OpenAI's Playground interface -- [Ctrl]+[Enter] to Submit, no matter where you are (e.g. editing previous replies). Having to move my hands away from the keyboard in order to manually click Submit slows me down.
@nilsherzig commented on GitHub (Mar 16, 2024):
Having escape close the current window (i.e. settings) and return also work on tags and other small input fields would be nice
@tjbck commented on GitHub (Apr 20, 2024):
@nilsherzig Added to our dev branch!
@NightMachinery commented on GitHub (May 20, 2024):
Why do the shortcuts use so many modifiers? This is not ergonomic at all.
It's not like this is emacs, there are only a few shortcuts. All of them could be
cmd+letter, e.g.,cmd+kfor new chat (which is what Claude uses).The shortcuts could also be user-configurable, which would be much better.
@tjbck commented on GitHub (May 20, 2024):
ChatGPT Keyboard shortcuts.
@NightMachinery commented on GitHub (May 20, 2024):
@tjbck Well, their choices are simply bad. I don't see why an opensource UI should imitate them without reason. Of course, there could be "hotkey packs" that configure the shortcuts to imitate ChatGPT for people used to that (IntelliJ does this to make it easy for people coming from other IDEs), but ChatGPT is a very new product, so I don't think this is worth it. Open WebUI should just go with ergonomic shortcuts.
Anyhow, I don't care about the defaults. If I can change these shortcuts, that's enough for me.
@Piste commented on GitHub (Jun 16, 2024):
I would love it if we could use [cmd]/[ctrl] + [k] for a new chat.
@AspireOne commented on GitHub (Jun 16, 2024):
It should really be editable, because as soon as English is not your native language, you're unable to use some of them. For example, I am from the Czech Republic, so I don't have the keys "#" or "/" mapped on a single button. It is a combination of two buttons for me, and this is not registered in the app.
@r-darwish commented on GitHub (Jul 30, 2024):
It would also be nice to have a shortcut to toggle web search (and other tools) on and off.
@thiswillbeyourgithub commented on GitHub (Aug 2, 2024):
As well as a way to toggle:
At this point it might make sense to add only a single additional binding that would pop up a "command palette" where you can type "start audio chat" for example? I think we risk having too many features compared to the number of available keys. Or just make the shortcuts editable and let the user choose what's relevant to its use case.
As well as adding shift+spacebar to focus the chatbox
@thiswillbeyourgithub commented on GitHub (Sep 14, 2024):
Hi everyone, I made a new feature request at #5420 to add an admin setting panel with a textbox for js to inject into openwebui.
This would bring a lot of extensibility to the admin, including making it trivial to add shortcuts, modify the font or fontsize, accessibility customization, hide some things for the users, enhance the experience on vertical screens, add a zen mode with an uncluttered UI, etc.
I think adding this would lower the burden on developpers who obviously can't cater to everyone's workflow, while empowering the community to provide snippets for other users.
If you support this feature request show it some love!
@strikeoncmputrz commented on GitHub (Sep 25, 2024):
It would be amazing to have a keyboard shortcut to enable / disable web search.
@Mugane commented on GitHub (Dec 17, 2024):
Actually escape should stop the currently generating content, not do random other things...
@alghostzx commented on GitHub (Feb 3, 2025):
Editing keyboard shortcuts would be great, and might I suggest hotkeys for toggling web search and toggling image generation?
@bsima commented on GitHub (Feb 20, 2025):
TIL we have keyboard shortcuts! Although they don't seem to work for me... idk why.
Anyway the one keyboard modification I want is to set Ctrl+Enter to send the message instead of just Enter, this would allow me to use Enter to write paragraphs.
related https://github.com/open-webui/open-webui/discussions/9521
@edmcquinn commented on GitHub (May 6, 2025):
Would people be interested in me implementing editing the current ones and allowing the user to change it themselves in the settings?
@thiswillbeyourgithub commented on GitHub (May 6, 2025):
God yes. Please and thank you.
It would be really great if we could toggle the tool choice pop up via a shortcut.
@edmcquinn commented on GitHub (May 8, 2025):
I am working on a very simple way to edit the current shortcuts. I do not feel confident enough about my understanding of the codebase to enable adding new shortcuts. That being said you can add and remove the third button and change the shortcuts to be whatever you want.
Any feedback here:
@thiswillbeyourgithub commented on GitHub (May 8, 2025):
Looks fine. Does it detect hotkeys or do we have to enter each letter to create a shortcut?
@edmcquinn commented on GitHub (May 8, 2025):
Each key. I am trying to keep it as simple as possible without impacting the rest of the project. You just click it and then you keep typing until the last one is filled.
@edmcquinn commented on GitHub (May 8, 2025):
This has been completed @tjbck - Not sure if it is something you want to add to the project.
Added a discussion post here as I am a first time contributor: https://github.com/open-webui/open-webui/discussions/13708
@edmcquinn commented on GitHub (May 12, 2025):
https://github.com/open-webui/open-webui/pull/13813 - I opened a pull request for this.
@silentoplayz commented on GitHub (Oct 18, 2025):
Related - https://github.com/open-webui/open-webui/pull/18256