vindent.vim
vim-textobj-python
vindent.vim | vim-textobj-python | |
---|---|---|
5 | 4 | |
39 | 89 | |
- | - | |
4.3 | 0.0 | |
7 days ago | almost 4 years ago | |
Vim Script | Vim Script | |
- | 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.
vindent.vim
-
Do you think YAML is easy to read than JSON?
Consider https://github.com/jessekelighine/vindent.vim
-
Moving through indented Python code?
Shameless plug: vindent.vim
-
Easier way to delete a whole function?
If your function is nicely indented (like your example), you can use an indent object daI delete it. Indent objects are provided by vim-indent-object (more well-known but inactive) and vindent.vim (an extended version by me).
-
vindent.vim v3.0.0
vindent.vim is a plugin that provides indentation relaed motions and text objects.
-
vindent.vim: a new plugin for indent motions and text objects
Therefore, I made my own plugin vindent.vim that provides both indent motions and indent text object, but only using less than 100 lines of vimscript! Enjoy and feedbacks are welcome.
vim-textobj-python
-
Easier way to delete a whole function?
For Python, for example, I use https://github.com/bps/vim-textobj-python.
-
Vim setup as a Python IDE with REPL similar to Spyder/VSCode
vim-textobj-python and having language aware text-objects are also very useful, especially when Slime-ing code to the REPL.
-
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.
-
Python Devs who Use Vim, Share Your Expertise!
Also, for general text editing in vim, you want to have useful text objects that understands the language that you're working on. For python, I found these the most useful from my collection: bps/vim-textobj-python (function/class text objects), pianohacker/vim-textobj-indented-paragraph (indentation text objects).
What are some alternatives?
vim-indentwise - A Vim plugin for indent-level based motion.
pylsp-rope - Extended refactoring capabilities for python-lsp-server using Rope
vim-unimpaired - unimpaired.vim: Pairs of handy bracket mappings
Python-mode - Vim python-mode. PyLint, Rope, Pydoc, breakpoints from box.
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.
vim-test - Run your tests at the speed of thought
vim-textobj-function-javascript - Text objects for functions in javascript.
vim-slime - A vim plugin to give you some slime. (Emacs)
vim-pudb - Manage pudb breakpoints directly from vim
python-lsp-server - Fork of the python-language-server project, maintained by the Spyder IDE team and the community
pudb - Full-screen console debugger for Python