@davep This is a common problem. If you don't want to create a minor mode just for one keybinding, you can run something like(use-local-map (make-composed-keymap (define-keymap "q" #'quit-window) (current-local-map)))when you set up the buffer. If you have a keymap already (expando-map, say):(use-local-map (make-composed-keymap expando-map (current-local-map)))
1 comment