Python-mode
vim-jumpsuite
Python-mode | vim-jumpsuite | |
---|---|---|
10 | 8 | |
5,440 | 5 | |
-0.0% | - | |
5.0 | 0.0 | |
7 months ago | over 1 year ago | |
Vim Script | Python | |
GNU Lesser General Public License v3.0 only | MIT License |
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.
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.
vim-jumpsuite
-
Parse python traceback in the quickfix list.
Oh, you're in luck because I've actually written this exact plugin, it's called vim-jumpsuite. It is personally one of my special weapons that's becoming completely indispensable for me.
-
Which not so well known Python packages do you like to use on a regular basis and why?
vim-jumpsuite: parses python tracebacks and identifies the most "interesting" part of the stack to create a jump list; despite vim being in the name, the python part of the plug-in is usable with any editors that supports parsing grep/quickfix-style output
-
Are you a person who loves reinventing a wheel ?
Here is link number 1 - Previous text "my"
-
Vim setup as a Python IDE with REPL similar to Spyder/VSCode
vim-jumpsuite for creating a quickfix/loclist jumps out of unittest tracebacks
-
IDE Similar to PyCharm for Work
vim-test with lieryan/vim-jumpsuite
-
Open Python error in Vim
For more elaborate cases, I wrote a plugin that summarises python traceback into the quickfix list. vim-jumpsuite is designed to be used when writing unittest/pytest; for each failing test, it'll try to pick the three most important locations that you'll want to jump to. You can also configure certain files/functions to never be picked by vim-jumpsuite.
-
Python Devs who Use Vim, Share Your Expertise!
Plug: one of the most valuable plugin for me are the vim plugin that I wrote myself: lieryan/vim-jumpsuite. It's a plugin to quickly jump to "interesting" line of code from your test suite by converting unittest reports to a Quickfix jumplist. The plugin uses some customizable heuristics to find the lines from tracebacks that are most likely to be most useful to your code.
What are some alternatives?
Jedi-vim - Using the jedi autocompletion library for VIM.
pylsp-rope - Extended refactoring capabilities for python-lsp-server using Rope
YouCompleteMe - A code-completion engine for Vim
Rope - a python refactoring library
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
vim-test - Run your tests at the speed of thought
python-lsp-server - Fork of the python-language-server project, maintained by the Spyder IDE team and the community
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!
vim-textobj-indent - Vim plugin: Text objects for indented blocks of lines
vim-slime - A vim plugin to give you some slime. (Emacs)
jedi - Awesome autocompletion, static analysis and refactoring library for python