Emacs global-set-key to C-TAB

后端 未结 6 1629
遥遥无期
遥遥无期 2021-02-01 01:47

I\'m trying to set a key-binding to Ctrl+TAB in Emacs. I used the following call:

(global-set-key (read-kbd-macro \"C-TAB\") \'my-func)

Howeve

6条回答
  •  清酒与你
    2021-02-01 02:42

    Instead of using read-kbd-macro, try using the more plain syntax?

    ;(global-set-key [(control tab)] 'my-func)
    

    Perhaps the plainer syntax will make a difference?

    More on read-kbd-macro and global-set-key.

提交回复
热议问题