shift+(end,home,left,right,up,down) not working inside term editors #6794
Replies: 3 comments 6 replies
-
Im not 100% sure how Lines 4319 to 4321 in 0f2f0ab this comment makes me really think it requires the scrollback im not sure how the selection inside these editors work but they arent using the scrollback. Maybe sending that the cursor moved would work although im not too sure what the escapes are for keybinds I know that left is |
Beta Was this translation helpful? Give feedback.
-
I bumped into this as well, and (in micro as well as nano):
I've been experimenting a bit with Ghostty code and:
With this change,
As I said, I have no idea if my change might have side effects and break things somewhere else, so I keep it as a private version for now. If this proves useful, I might submit a PR though.
|
Beta Was this translation helpful? Give feedback.
-
Hi, Neovim user here. I will elaborate the problem and some reasoning for solving it in this comment. The ProblemI encountered this issue in Neovim today where one of my plugins' default-keybind Problem Scope
But worry not,
Reasoning & SolutionIt's probably just that "some defaults of Ghostty" can easily conflict with some common keybinds of existing terminal programs, e.g. neovim, nano, and micro that have been mentioned in this thread. EDIT: prefer
I guess the following ideas might help:
|
Beta Was this translation helpful? Give feedback.
-
Trying to use one of these combinations shift+(end,home,left,right,up,down) to select text inside nano or micro doesn't work inside Ghostty.
Not sure if the keybind settings related to each one should be set in the configuration file, but setting it, if I understood it correctly, made it worse: not allowing to select anything.
[EDIT]
I mean for selecting text, not even tried to check if moving inside those editors was broken.
Beta Was this translation helpful? Give feedback.
All reactions