0

The following init.el keybind doesn't work after starting emacs, only when I eval-buffer init.el (otherwise C-c C-d just goes to its default bind in python-mode):

(use-package python-mode
  :ensure nil
  :after flycheck
  :mode "\\.py\\'"
  :bind
  (:map python-mode-map
        ("C-c C-d" . pdb))
  :custom
  (python-indent-offset 4)
  )

This site is temporarily in read only mode and not accepting new answers.

Browse other questions tagged .