Skip to content

Conversation

@crijke
Copy link

@crijke crijke commented Sep 25, 2025

This PR restores keybindings to move the cursor by one word and to select text by words, mapping them to the MacOS equivalents:

  • option + cursor right: move cursor one word to the right
  • option + cursor left: move cursor one word to the left
  • shift + option + cursor right: expand text selection one word to the right
  • shift + option + cursor left: expand text selection one word to the left

Copilot AI review requested due to automatic review settings September 25, 2025 11:06
Copy link

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

This PR adds keyboard shortcuts for word-based cursor movement and text selection, mapping MacOS-style Option+Arrow key combinations to their Linux equivalents using Ctrl+Arrow keys.

  • Removes TODO comments for word navigation functionality
  • Adds new keymap section with Alt+Arrow remappings to Ctrl+Arrow
  • Includes both movement-only and Shift+modifier combinations for text selection

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

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.

1 participant