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?

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.