Can Emacs differentiate between ctrl-r and ctrl-shift-r?

前端 未结 2 659
无人及你
无人及你 2021-01-03 22:04

I\'d like to bind Ctrl + R to \'isearch-backward and bind Ctrl + Shift + R to \'tags-apropos

2条回答
  •  忘掉有多难
    2021-01-03 22:50

    Yes -- one is "\C-r", the other is "\C-R". They can easily be bound to separate commands. For example, this should do the trick if placed in your .emacs file:

    (global-set-key "\C-R" 'tags-apropos)
    

提交回复
热议问题