[RFC]: add support for shift-selection in the REPL
Description
This RFC proposes adding support for selecting regions of the input using SHIFT+ARROW in the REPL. Julia supports this (attached below).
https://github.com/user-attachments/assets/402c9602-5578-4d51-afed-9a77db194187
Related Issues
Related issues #2647.
Checklist
- [X] I have read and understood the Code of Conduct.
- [X] Searched for existing issues and pull requests.
- [X] The issue name begins with
RFC:.
@Snehil-Shah To clarify, this would allow deleting multiple characters at once? What is the use case?
Hmmm...I am not sure about this key-binding. E.g., SHIFT+ARROW in tmux allows for navigating panes. Are there other possible key combinations?
Julia also has keybindings around selections for copy/paste/cut operations.
And I am not affixed to any key combination for now, but I believe VSCode also has shift+arrow for selection as a keyboard shortcut.