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-_.

  • 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 at 8:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.