Skip to content

[Feature Request] Add terminal-style shortcuts in textfields #158

@feiyehua

Description

@feiyehua

Would you consider adding readline-style / terminal-style shortcuts for text input fields?

For a TUI-oriented Tauri app, it would be very helpful if text fields supported common terminal editing bindings such as:

  • Ctrl+A: move cursor to start of line
  • Ctrl+E: move cursor to end of line
  • Ctrl+U: delete from cursor to start of line
  • Ctrl+K: delete from cursor to end of line
  • Ctrl+W or Alt+Backspace: delete previous word
  • Alt+B / Alt+F: move by word

These shortcuts are common in shells, REPLs, prompts, and many terminal UIs, so they would make text fields feel more natural for keyboard-heavy users.

I understand there may be conflicts with existing app-level shortcuts or platform conventions, so even having this behind a setting, feature flag, or configurable keymap would be useful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions