Python-mode
vim-textobj-indent
Python-mode | vim-textobj-indent | |
---|---|---|
10 | 6 | |
5,440 | 166 | |
-0.0% | - | |
5.0 | 0.0 | |
7 months ago | over 3 years ago | |
Vim Script | VimL | |
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.
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-textobj-indent
-
What are all the accepted "inner" motion arguments?
Just to add to that, there are also various plugins that give you additional text objects, such as: - ii for indent levels (https://github.com/kana/vim-textobj-indent) - iz for folds (https://github.com/kana/vim-textobj-fold) - if for functions (https://github.com/kana/vim-textobj-function) - ic for comments (https://github.com/glts/vim-textobj-comment) - User-defined text objects (https://github.com/kana/vim-textobj-user)
- Installing argtextobj.vim
- What extra and useful textobj does vim have?
-
is there a way to go to the end of text objects like parenthesis or tags?
viioj using https://github.com/kana/vim-textobj-indent
-
IDE Similar to PyCharm for Work
Out of the box, vim is already very good at text editing, but to supercharge your editing power, you would want to add some additional text objects. Most important for Python is bps/vim-textobj-python and kana/vim-textobj-indent.
- How can I select all lines below current with a greater indentation level?
What are some alternatives?
Jedi-vim - Using the jedi autocompletion library for VIM.
vim-indent-object - Vim plugin that defines a new text object representing lines of code at the same indent level. Useful for python/vim scripts, etc.
YouCompleteMe - A code-completion engine for Vim
vim-textobj-user - Vim plugin: Create your own text objects
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
python-lsp-server - Fork of the python-language-server project, maintained by the Spyder IDE team and the community
jedi - Awesome autocompletion, static analysis and refactoring library for python
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-surround-funk - A Vim plugin to manipulate function calls
vim-slime - A vim plugin to give you some slime. (Emacs)
vim-lsp - async language server protocol plugin for vim and neovim