vim-indent-object VS vim-textobj-python

Compare vim-indent-object vs vim-textobj-python and see what are their differences.

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. (by michaeljsmith)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
vim-indent-object vim-textobj-python
15 4
729 89
- -
3.3 0.0
3 months ago almost 4 years ago
Vim Script Vim Script
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

vim-indent-object

Posts with mentions or reviews of vim-indent-object. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-14.
  • Is there a plugin to select the parent block of code I am in?
    2 projects | /r/neovim | 14 Apr 2023
    I tried https://github.com/michaeljsmith/vim-indent-object and while it was somewhat promising, it doesn't work correctly.
  • Select indented lines in markdown todo list
    4 projects | /r/neovim | 11 Jan 2023
  • Ask HN: Is Vim still worth learning?
    5 projects | news.ycombinator.com | 13 Dec 2022
  • How can it select the inner/outer tag of yaml block
    1 project | /r/neovim | 2 Aug 2022
  • Easier way to delete a whole function?
    6 projects | /r/vim | 22 May 2022
    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
    3 projects | /r/vimplugins | 13 May 2022
    vindent.vim is an alternative to both vim-indentwise and vim-indent-object. The latest version v3.0.0 reimplements every functionality that the two plugin offer, but improved!
  • vindent.vim: a new plugin for indent motions and text objects
    4 projects | /r/vim | 29 Apr 2022
    I use indent objects from vim-indent-object and indent jumps vim-indentwise alot, but they seem to be dormant for a long time. Also, vim-indentwise provides a lot of unnecessary functionalities IMO, making modifying the source code a bit difficult.
  • Vimrc - How would I set `do` and `end` as delimiter pairs and then have `yid` yank between them?
    5 projects | /r/vim | 4 Jan 2022
    This isn't exactly what you're looking for, but assuming you've indented everything between do and end, you can use the vim indent object plugin (https://github.com/michaeljsmith/vim-indent-object), then do something like yii, or dii to do it inside the indent.
  • Using Vim for Everything!
    6 projects | /r/FPGA | 6 Oct 2021
    I just saw a nice post in /u/medwatt about using vim for VHDL/Verilog and thought I'd contribute a little! * Syntax and error highlight: https://github.com/autozimu/LanguageClient-neovim * Column align: https://github.com/junegunn/vim-easy-align * Remove annoying whitespaces: https://github.com/ntpeters/vim-better-whitespace * Partial (fuzzy) filename search: https://github.com/junegunn/fzf.vim * Outline all declarations inside a file: â €https://github.com/preservim/tagbar * Treat indentations as vim-objects (useful for languages that don't use { }): https://github.com/michaeljsmith/vim-indent-object There is also mouse support in vim for those who want it. Try typing :set mouse=a. Very useful for resizing windows. I also highly recommend you get good at using folds (https://vim.fandom.com/wiki/Folding). It makes it a LOT easier to navigate files. You can save your fold config per-file with :mkview and load it later with :loadview. If I come up with more hints - I'll mention them in the comments!
  • Any vim-indent-object alternative?
    2 projects | /r/neovim | 18 Jun 2021
    Some of the forks https://github.com/michaeljsmith/vim-indent-object/network seem to be quite ahead, you can probably choose and pick a lot of improvements to your fork, then you take over the world!

vim-textobj-python

Posts with mentions or reviews of vim-textobj-python. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-05-22.
  • Easier way to delete a whole function?
    6 projects | /r/vim | 22 May 2022
    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
    6 projects | /r/Python | 24 Feb 2022
    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
    13 projects | /r/Python | 5 Oct 2021
    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!
    7 projects | /r/Python | 23 Aug 2021
    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?

When comparing vim-indent-object and vim-textobj-python you can also consider the following projects:

vim-textobj-user - Vim plugin: Create your own text objects

pylsp-rope - Extended refactoring capabilities for python-lsp-server using Rope

LanguageClient-neovim - Language Server Protocol (LSP) support for vim and neovim.

Python-mode - Vim python-mode. PyLint, Rope, Pydoc, breakpoints from box.

vim-textobj-indent - Vim plugin: Text objects for indented blocks of lines

vim-test - Run your tests at the speed of thought

neovim-config

vim-slime - A vim plugin to give you some slime. (Emacs)

vim-indentwise - A Vim plugin for indent-level based motion.

vim-pudb - Manage pudb breakpoints directly from vim

nvim-treesitter-textobjects

python-lsp-server - Fork of the python-language-server project, maintained by the Spyder IDE team and the community