I've been using Elpy for a long time and have grown used to many of the default keybindings. I recently decided to give lsp-mode a go to see how it compares. I set it up following this blog and made my own tweaks. There's things I really like about it, like the lsp-ui-peek functions. It also seems to work a bit better with Jedi sometimes. However, I also miss a lot of the navigation and code formatting functionality that Elpy supplies. For example, I really like the following functions:

elpy-nav-*, elpy-shell-send-region-or-buffer

Does anyone have any configuration suggestions to integrate some of this without having to copy all the desired Elpy functionality into my init file or having to enable all of Elpy?

  • Did you ever find a good approach for the two to coexist? – dpritch Aug 26 '19 at 13:31
  • 1
    @dpritch Unfortunately no... I ended up giving up with lsp-mode for now and going back to elpy – aiguofer Aug 26 '19 at 15:57

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.