Caret movement improved, ability to move rectangular selection to left and right #453

Open
reejk wants to merge 1 commit from reejk/move-caret-and-selection into master
reejk commented 2026-08-20 06:56:25 -05:00 (Migrated from github.com)

Overall, cursor movement and rectangular selection are now more consistent with other text editors.

  • When pressing Left or Right caret will be moved to edge of selection as in any other text editor;
  • When pressing Left or Right with rectangular selection it shrinks to zero width on expected side as in Rider or VS Code;
  • When pressing Left or Right with zero-width rectangular selection it moves to specified direction;
  • Escape key bound to ClearSelection as in Rider and VS Code.
Overall, cursor movement and rectangular selection are now more consistent with other text editors. - When pressing Left or Right caret will be moved to edge of selection as in any other text editor; - When pressing Left or Right with rectangular selection it shrinks to zero width on expected side as in Rider or VS Code; - When pressing Left or Right with zero-width rectangular selection it moves to specified direction; - Escape key bound to ClearSelection as in Rider and VS Code.
This pull request is broken due to missing fork information.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'reejk/move-caret-and-selection:reejk/move-caret-and-selection'
git switch 'reejk/move-caret-and-selection'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'master'
git merge --no-ff 'reejk/move-caret-and-selection'
git switch 'reejk/move-caret-and-selection'
git rebase 'master'
git switch 'master'
git merge --ff-only 'reejk/move-caret-and-selection'
git switch 'reejk/move-caret-and-selection'
git rebase 'master'
git switch 'master'
git merge --no-ff 'reejk/move-caret-and-selection'
git switch 'master'
git merge --squash 'reejk/move-caret-and-selection'
git switch 'master'
git merge --ff-only 'reejk/move-caret-and-selection'
git switch 'master'
git merge 'reejk/move-caret-and-selection'
git push origin 'master'
Sign in to join this conversation.
No description provided.