I'm trying to add some bindings to undo-tree-visualizer-mode-map
. To do so I use:
(define-key undo-tree-visualizer-mode-map (kbd "S-l") 'undo-tree-visualizer-quit)
But it doesn't work, and if I do describe-keymap
afterwards I see that the binding wasn't added.
There seems to be a few keymap where this behavior happens, such as ivy-occur-mode-map
and Info-mode-map
as well.
Any idea why is that? And how can I add bindings to those keymaps?
describe-keymap
? My emacs does not know it and I cannot find it in the elisp manual. Where does it come from?