emacs - [control shift up] doesn't work

前端 未结 3 1932
太阳男子
太阳男子 2020-12-20 03:37

I tried to define hotkey as following

(global-set-key [(control shift up)] \'other-window)

but it doesn\'t work (no error, just doesn\'t wo

3条回答
  •  有刺的猬
    2020-12-20 04:06

    This could well be a duplicate of:
    Binding M- / M- in emacs 23.1.1

    If this is the case, Gilles' answer should sort you out (undoubtedly with different escape sequences, though.)

    edit (for better visibility -- see answer below):

    It turned out that gnome terminal does not transmit these key combinations, so the solution relies upon the following: https://superuser.com/questions/230852/get-ubuntu-terminal-to-send-an-escape-sequence-controlshiftup

提交回复
热议问题