You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using Kitty terminal. I have mappings such as
map cmd+left send_text all \x1b[57391u
map cmd+right send_text all \x1b[57392u
map cmd+backspace send_text all \x1b[57393u
In Zsh and Neovim I catch these bytesequences and execute the appropriate operation (cmd+left goes to the beginning of a line, cmd+right to the end, cmd+backspace deletes from cursor to beginning of the line).
The only issue I have is iPython, because there doesn't seem to be a way to map bytesequences to keyboard shortcuts. Since I have ingrained them so deeply, I end up using them in iPython as well, but often lose the entire prompt on a single invocation (that is for my most frequent one, alt+backspace, which should delete one word back)
The text was updated successfully, but these errors were encountered:
Hum interesting. I think the handling is done by prompt toolkit, and I'm not sure if prompt toolkit allow that, so it might need a fix upstream. I'll try to check when I have time.
Hi there 馃憢
I am using Kitty terminal. I have mappings such as
In Zsh and Neovim I catch these bytesequences and execute the appropriate operation (cmd+left goes to the beginning of a line, cmd+right to the end, cmd+backspace deletes from cursor to beginning of the line).
The only issue I have is iPython, because there doesn't seem to be a way to map bytesequences to keyboard shortcuts. Since I have ingrained them so deeply, I end up using them in iPython as well, but often lose the entire prompt on a single invocation (that is for my most frequent one, alt+backspace, which should delete one word back)
The text was updated successfully, but these errors were encountered: