I have configured the M-p
key to trigger ace-window
, but when I navigate to the sr-speedbar
window it stops working and I have to use C-x o
to move out. Is there some mode hook I have to use to ensure that M-p
works in sr-speedbar
or does sr-speedbar
use that key for something else?
(use-package ace-window
:ensure t
:defer t
:init
(progn
(global-set-key (kbd "M-p") 'ace-window)
(setq aw-keys '(?a ?s ?d ?f ?g ?h ?j ?k ?l))
;;more info at https://github.com/abo-abo/ace-window
)
)
sr-speedbar
use that key for something else?", the general approach is to typeC-h k
orM-x describe-key
and then the keyboard shortcut from a particular buffer to see what function is linked to it. [FYI:sr-speedbar
is a modification/tweak/add-on to the built-inspeedbar
library, rather than a completely separate animal.] – lawlist Aug 03 '17 at 23:50