1
(use-package
  anaconda-mode
  :defer t
  :config
  (progn
    (unbind-key "M-." anaconda-mode-map)
    (unbind-key "C-_" global-map))
  :bind ((:map anaconda-mode-map
               ("C-_" . anaconda-mode-find-definitions))))

but when I do C-_, it is undefined. anaconda-mode-map doesn't have C-_.

1
  • I do not use use-package nor anaconda-mode. Nevertheless I try to help: According to the doc you have too many parentheses in your :bind command. Remove the outer parentheses. Furthermore anaconda-mode-map is globally defined in anaconda-mode.el. So you do not really need :map anaconda-mode-.map.
    – Tobias
    Feb 25, 2019 at 8:43

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.