Jedi-vim
Python-mode
Our great sponsors
Jedi-vim | Python-mode | |
---|---|---|
11 | 10 | |
5,238 | 5,437 | |
- | 0.0% | |
4.1 | 5.0 | |
4 months ago | 7 months ago | |
Python | Vim Script | |
MIT License | GNU Lesser General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Jedi-vim
-
My office wants everyone to use vim as the only editor. Has this happened to anyone else?
jedi-vim does autocomplete, docstring/signature/stub lookup, usage finding, bulk renaming...
-
I can't compile vim with python2 support?
The readme for jedi-vim says it works with Python 3:
-
How to go to Python documentation in Vim without plugins?
To be able to use ctags you have to run ctags in the source directory to generate the index files. But a better way is to just modify the keywordprg when in a Python buffer or even better use a plugin like pydoc.vim or jedi-vim
-
can't get jedi-vim autocomplete to work - "option omnifunc is not set jedi vim"
I added https://github.com/davidhalter/jedi-vim to my plugins in ~/.config/nvim/init.vim and ran PlugInstall and it worked, but whenever I try to open a python file and the autocomplete part should come up I get
-
Tutorial: A Vim-based workflow for efficient LaTeX
But LSP is a critical part of my Python setup, where I use David Halter's jedi-vim for completion, renaming, go-to-definition, finding usages of variables, etc., so I'm definitely not opposed to LSP on principle. I guess I just found Latex wasn't a complicated enough language for me to benefit from the full suite of features an LSP provides.
-
Basically complete noob trying to learn. What IDE would you recommend?
Install linux (WSL) with this tutorial (assuming you are on windows) and go through this tutorial to get used to it. To write python scripts, use vim and install this plugin.
-
`K` on python keywords
I think you can get that behavior with https://github.com/davidhalter/jedi-vim but I haven't tried it.
-
Setting up Vim for Python
Firstly I will like to install Jedi for code completion in Python. The plugin can be simple and straightforward to install using any of the above plugin managers. Jedi-Vim provides some neat and clean** syntax analytics and autocompletion for Python in Vim**. You'll find the docs and installation process here JEDI-VIM
-
google, are you f****** with me?
I've never used it, not really a python gal, but from what I read, jedi sounds like a good one (https://github.com/davidhalter/jedi-vim).
-
VIM + CoC for python - How hard could it be?
See https://github.com/davidhalter/jedi-vim
Python-mode
-
NVIM: More complete autocomplete
As for the Vim auto complete plug-in to use. The biggest (and rather quite bloated provider) are coc and youcompleteme. Vim had countless other completion provider plugins over the years, I lost track of which ones are still good to use and which ones should already be superseded by better techs, but one I personally use python-mode, which uses rope and vim-lsp which supports pylsp.
-
Vim - How to Maintain Shell Output?
python-mode plugin works well as an IDE-like solution: https://github.com/python-mode/python-mode
-
Moved from IDE to Terminal + VIM. Need tips for managing it correctly.
If you're happy with a plugin, pymode (https://github.com/python-mode/python-mode) is worth a look. Map running to r (or whatever works for you) makes running easy. End result is IDE-like.
-
IDE Similar to PyCharm for Work
If you want a quick start to building Vim based IDE for Python, I recommend python-mode. It gives you most of the things you're going to need in one plugin, there are often better implementations of some of its features in other more specialised plugins, but if you don't have time to research and learn to integrate a lot of different plugins, it's a great base to start from. Over time as you learn how you prefer to work and found specialised plugins that suits your workflow better, you can disable many of its features and replace them with more specialised plugins.
-
Python Devs who Use Vim, Share Your Expertise!
I also highly recommend python-mode for Python refactoring using python-rope. It supports variable/function/class renaming, extract method/local variable, variable/method inlining, adding/removing/rearranging parameters from method signature, removing unused and duplicate imports, and many other useful code transformations.
-
My problem with vim
However, adding all these things by hand takes time. I only know python so that's what im using vim for, and i tried out pymode, but that's way too many features introduced at once. For this reason I've also avoided using others configurations.
-
Folding annoyance
Eg for python (there are several others) https://github.com/python-mode/python-mode
-
Use Vim as a Python IDE
There is a plugin called python-mode. This adds syntax highlighting and many other features to your vim.
- Vim with Python
-
How to use python (no IDE)?
Update that tool to work with Python. For example, Python-Mode.
What are some alternatives?
YouCompleteMe - A code-completion engine for Vim
coc-pyright - Pyright extension for coc.nvim
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
Suplemon - :lemon: Console (CLI) text editor with multi cursor support. Suplemon replicates Sublime Text like functionality in the terminal. Try it out, give feedback, fork it!
python-lsp-server - Fork of the python-language-server project, maintained by the Spyder IDE team and the community
vim-lsp - async language server protocol plugin for vim and neovim
jedi-language-server - A Python language server exclusively for Jedi. If Jedi supports it well, this language server should too.
vim-slime - A vim plugin to give you some slime. (Emacs)
vundle - Vundle, the plug-in manager for Vim
vim-pudb - Manage pudb breakpoints directly from vim