Skip to content

Add auto submit setting with configurable key modes#189

Closed
swissyai wants to merge 1 commit intocjpais:mainfrom
swissyai:add-auto-submit-setting
Closed

Add auto submit setting with configurable key modes#189
swissyai wants to merge 1 commit intocjpais:mainfrom
swissyai:add-auto-submit-setting

Conversation

@swissyai
Copy link
Copy Markdown

@swissyai swissyai commented Oct 8, 2025

Adds an Auto Submit setting to Advanced that automatically sends a return key after transcription completes.

This enables seamless integration with agentic coding tools like Cursor and Claude Code that use different submit shortcuts. The setting supports three key modes:

  • Enter: Simple return key
  • Ctrl+Enter: Control + return combination
  • Cmd+Enter: Command + return combination (macOS)

The dropdown is disabled when the toggle is off to match existing UI patterns.

Implementation:

  • Backend: Added AutoSubmitKey enum and send_return_key() function in clipboard.rs
  • Frontend: New AutoSubmit component in Advanced settings following existing patterns
  • Settings: Persisted via existing settings store with default of false/enter

Tested all three key modes functionally with both clipboard and direct paste methods.

Adds Auto Submit feature to Advanced settings that automatically sends
a return key after transcription completes. Supports three key modes:

- Enter: Simple return key
- Ctrl+Enter: Control + return combination
- Cmd+Enter: Command + return combination (macOS)

This enables seamless integration with agentic coding tools like Cursor
and Claude Code that use different submit shortcuts.
@cjpais
Copy link
Copy Markdown
Owner

cjpais commented Oct 8, 2025

Thank you for submitting the PR. On the whole the use case makes sense.

I'm a bit hesitant to pull this in at the moment, mainly I'm trying to avoid having a lot of settings (and there are kind of too many for my taste already). Right now I am mostly focused on things which are fixing bugs or are highly requested. I might pull this in eventually. If you don't mind, please also go collect feedback and support in the Discussions. I will be following there!

@cjpais cjpais closed this Oct 16, 2025
@cjpais cjpais reopened this Oct 16, 2025
@cjpais cjpais closed this Nov 3, 2025
@sasha-computer
Copy link
Copy Markdown
Contributor

I would love this feature btw, I'm getting even lazier and would love to hit push-to-talk shorcut, talk, release and it enter the transcription into the box and press enter @cjpais. Any chance we can revive this? I'd be happy to push it forward in terms of getting it compatible with latest release etc.

@cjpais
Copy link
Copy Markdown
Owner

cjpais commented Feb 10, 2026

@sasha-computer yeah I will accept this now. Put it in advanced settings and I will test and pull the PR in

@sasha-computer
Copy link
Copy Markdown
Contributor

@sasha-computer yeah I will accept this now. Put it in advanced settings and I will test and pull the PR in

Amazing thanks - PR opened here: #765.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants