2

Is there any way to change mosh kill/suspend mapping ctrl+^ to something else?

The reason it's the same key with vim quick buffer switch, it's annoying when you're trying to switch buffer but mosh ask whether to suspend, kill or repeat the key to send literal ctrl+^

1 Answer 1

4

From the man page, you can select the escape character by setting an environment variable to it before running mosh, eg

MOSH_ESCAPE_KEY=$'\x11' mosh ...

where $'' is shell syntax to allow you to enter a character by its octal or hex code (x11 is control-Q). Make sure your shell understands that syntax. Note, you cannot use a symbolic representation such as C-Q or ^Q.

2

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .