Add setting to customize how the Enter key behaves in prompt input field #5554
Replies: 4 comments 3 replies
-
also add current file in context like how continue.dev does would be good? |
Beta Was this translation helpful? Give feedback.
-
We need to be thoughtful about every setting we add, since it's hard to remove and adds carrying cost, but this is indeed a very central piece of the UX, so I think it can be reasonable to add the ability to switch between these two in settings. We'll probably need a new settings tab for "UI" or something like that, where this and some other stuff will eventually go. On the shortcut for current file @ + the first letter of the current file already seems to me like a very quick way of doing it, so I don't think we need a dedicated shortcut. I'll Alt+Enter in mind for the future as a possible "special" shortcut users could pick what to do with (eg pull current file, pull terminal content, etc) according to their usage pattern. But I'd keep these separate. |
Beta Was this translation helpful? Give feedback.
-
I am totally agree with @Alek2077 . I use 3 languages (English/Chinese/Japanese) when I chat with Roo. This topic actually affects me more than other English speakers. Because in usual CJK input method, Enter key plays a role. |
Beta Was this translation helpful? Give feedback.
-
I've implemented it here #8556 I would appreciate it if anyone could help out with documentation and tests; I don't have time to implement it. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Add an option in the settings (or in a visible, easily accessible place) to switch between:
Enter = newline / Shift+Enter or Ctrl+Enter = send
Enter = send / Shift+Enter = newline (current default)
This flexibility improves ergonomics for users who write long or structured prompts and want faster multiline input without holding modifier keys. Those of us typing hundreds of words per prompt find it physically tiring to hold Shift constantly, and we occasionally send prompts by mistake when we forget.
Google AI Studio does this by default.
Why it matters:
Beta Was this translation helpful? Give feedback.
All reactions