Skip to content

Conversation

@google-labs-jules
Copy link

Addresses Issue anomalyco#4997 by updating default keybinding configurations and enhancing the Prompt component to handle Copy operations intelligently.

Key Changes:

  1. Config Updates:
    • input_copy: Added default mapping (ctrl+c, super+c).
    • model_provider_list: Changed from ctrl+a to ctrl+alt+m to free up ctrl+a for "Line Start".
    • input_move_up/down: Added ctrl+p / ctrl+n.
    • history_previous/next: Added ctrl+p / ctrl+n.
    • input_newline: Verified shift+return.
    • input_word_forward/backward: Verified/Added ctrl+right/ctrl+left.
  2. Logic Updates:
    • Prompt component now intercepts input_copy (Ctrl+C). If a text selection exists, it copies to clipboard and stops propagation. Otherwise, it allows fallback to input_clear or app_exit.

Verified via test/config_defaults.test.ts.


PR created automatically by Jules for task 18063428155983604517 started by @Ashwinhegde19

…lyco#4997)

- Fix Ctrl+C behavior on Windows: copies selection if present, otherwise clears/exits.
- Resolve Ctrl+A conflict: move `model_provider_list` to `ctrl+alt+m`.
- Fix Navigation: map `ctrl+n`/`ctrl+p` to move down/up and history next/prev.
- Fix Multiline: ensure `shift+return` is mapped to newline.
- Fix Word Navigation: ensure `ctrl+left`/`ctrl+right` are mapped.
- Fix Word Deletion: ensure `alt+d` and `option+delete` are mapped.
@google-labs-jules
Copy link
Author

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@github-actions
Copy link

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

@Ashwinhegde19 Ashwinhegde19 marked this pull request as ready for review January 16, 2026 02:14
@Ashwinhegde19 Ashwinhegde19 merged commit 8e98137 into dev Jan 16, 2026
1 of 6 checks passed
@Ashwinhegde19 Ashwinhegde19 deleted the fix-keybinds-issue-4997-18063428155983604517 branch January 16, 2026 02:16
@Ashwinhegde19 Ashwinhegde19 restored the fix-keybinds-issue-4997-18063428155983604517 branch January 16, 2026 02:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants