Search code examples
shellescapingfish

what do these shell escape characters stand for?


I saw this on this post: https://superuser.com/questions/409594/fish-control-left-control-right-keybindings enter image description here

The escape sequence \e\[1\;5C, what does it stand for?


Solution

  • They stand for Esc[1;5C and Esc[1;5D.

    See https://unix.stackexchange.com/questions/10806/how-to-change-previous-next-word-shortcut-in-bash for what these escape sequences do.