Add Shift+Ctrl+Home and Shift+Ctrl+End support
Can you add Shift+Ctrl+Home and Shift+Ctrl+End support to select text from the current position to the top of and bottom of file respectively?
The standard VT protocol cannot differentiate between Ctrl and Ctrl+Shift unfortunately, so this is impossible. There's the Kitty keyboard protocol, however, which should make this possible. But first we need support for that. As such, I'll close this issue as a duplicate of #29. (Contributions are welcome! My time working on this project is limited right now, however.)
The standard VT protocol cannot differentiate between Ctrl and Ctrl+Shift
@lhecker It can on keys like Home and End, at least on most modern terminals.
| Key | Sequence |
|---|---|
| Home | CSI H |
| Ctrl+Home | CSI 1 ; 5 H |
| Ctrl+Shift+Home | CSI 1 ; 6 H |
Ctrl+Home and Ctrl+End are working out of the box.
I'm wondering if Shift+F3 would have a problem for the same reason? Normally, Shift+F3 is repeat find backwards. It would be nice if that could work out of the box.