Skip to content

feat(actions): add GoToNextWord & GoToPrevWord actions#1026

Open
rudenkornk wants to merge 1 commit intoalexpasmantier:mainfrom
rudenkornk:next_prev
Open

feat(actions): add GoToNextWord & GoToPrevWord actions#1026
rudenkornk wants to merge 1 commit intoalexpasmantier:mainfrom
rudenkornk:next_prev

Conversation

@rudenkornk
Copy link
Copy Markdown
Contributor

📺 PR Description

Checklist

  • my commits and PR title follow the conventional commits format
  • if this is a new feature, I have added tests to consolidate the feature and prevent regressions
  • if this is a bug fix, I have added a test that reproduces the bug (if applicable)
  • I have added a reasonable amount of documentation to the code where appropriate

Copilot AI review requested due to automatic review settings April 9, 2026 12:18
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds word-wise cursor navigation actions to Television’s input handling and wires them through UI/help and default keybindings.

Changes:

  • Introduces GoToNextWord / GoToPrevWord actions and user-facing descriptions.
  • Routes these actions through input handling and makes them visible in the help panel.
  • Adds default keybindings for word navigation (alt-b, alt-f) in the shipped config.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
television/action.rs Adds new action variants and descriptions for word navigation.
television/input.rs Maps new actions to existing InputRequest word-navigation requests.
television/television.rs Treats new actions as input actions (render + dispatch to handle_input_action).
television/screen/help_panel.rs Marks new actions as relevant so they appear in help output for supported modes.
.config/config.toml Adds default keybindings alt-b / alt-f for prev/next word movement.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .config/config.toml
Comment thread television/action.rs
@rudenkornk
Copy link
Copy Markdown
Contributor Author

@alexpasmantier may I ask you to take a look on this PR? :)

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.

2 participants