问题
I have seen this answer for the case of xterm Send "C-(" to Emacs in VT100/xterm terminal (Mac OS X's Terminal)?
Yet, how would i represent the conrol key in ctrl+char combinations (like emacs C-') while sending escape-sequences or hex-codes via iTerm2 ?
Experimenting in accord with the link above, I can send C-& and C-( BUT NOT C-' . Why?
^[[27;6;38~ yields C-& as expected
^[[27;6;39~ yields ~ only tilde
^[[27;6;40~ yields C-( as expected
来源:https://stackoverflow.com/questions/20874190/howto-send-emacs-control-quote-c-via-terminal-iterm2