-
I wanted to have key binding to clear the current line using COMMAND + DELETE key but nowhere I can find character sequence to represent command key. On this doc, I see \c is for control, but what about Command and Delete? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Run Note that many sequences are not representable, e.g. there is no way for fish to tell ctrl-i from tab. That's unfortunately just how terminals operate. |
Beta Was this translation helpful? Give feedback.
-
You aren't going to be able to bind any command-modified keys in Terminal.app on macOS. |
Beta Was this translation helpful? Give feedback.
Run
fish_key_reader
, press whatever key sequence you want, and it will tell you the character sequence.Note that many sequences are not representable, e.g. there is no way for fish to tell ctrl-i from tab. That's unfortunately just how terminals operate.