vim-indent-object VS vim-easy-align

Compare vim-indent-object vs vim-easy-align 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)

vim-easy-align

:sunflower: A Vim alignment plugin (by junegunn)
Vim
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-easy-align
15 21
729 4,027
- -
3.3 0.0
4 months ago almost 4 years ago
Vim Script Vim Script
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-easy-align

Posts with mentions or reviews of vim-easy-align. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-05.
  • How to align columns using tabs automatically? (Preferably using `mini.align`)
    2 projects | /r/neovim | 5 Jul 2023
  • In mini.align, is there a way to align by specific occurrence of a character?
    2 projects | /r/neovim | 12 Jan 2023
    As part of my journey to moving to Lua, I'm trying to move from vim-easy-align to mini.align.
  • Markdown format table
    5 projects | /r/neovim | 16 Oct 2022
    Not exactly what you are asking for, but table formatting is usually enough with general purpose align plugins: - mini.align - junegunn/vim-easy-align - godlygeek/tabular
  • How to line up columns
    1 project | /r/neovim | 14 Oct 2022
    For aligning text table data I usually used this plugin
  • mini.align - align text interactively (like 'vim-easy-align', but in Lua and slightly different mechanics)
    3 projects | /r/neovim | 22 Sep 2022
    I am happy to announce the release of mini.align - module of mini.nvim for aligning text interactively (with or without live preview). This is mostly designed after junegunn/vim-easy-align, but is implemented in Lua and has slightly different alignment specification and user interaction lifecycle.
  • My Vim Configurations
    3 projects | dev.to | 26 Jul 2022
    call plug#begin() " The default plugin directory will be as follows: " - Vim (Linux/macOS): '~/.vim/plugged' " - Vim (Windows): '~/vimfiles/plugged' " - Neovim (Linux/macOS/Windows): stdpath('data') . '/plugged' " You can specify a custom plugin directory by passing it as the argument " - e.g. `call plug#begin('~/.vim/plugged')` " - Avoid using standard Vim directory names like 'plugin' " Make sure you use single quotes " Shorthand notation; fetches https://github.com/junegunn/vim-easy-align Plug 'junegunn/vim-easy-align' " Any valid git URL is allowed Plug 'https://github.com/junegunn/vim-github-dashboard.git' " Multiple Plug commands can be written in a single line using | separators Plug 'SirVer/ultisnips' | Plug 'honza/vim-snippets' " On-demand loading Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' } Plug 'tpope/vim-fireplace', { 'for': 'clojure' } " Using a non-default branch Plug 'rdnetto/YCM-Generator', { 'branch': 'stable' } " Using a tagged release; wildcard allowed (requires git 1.9.2 or above) Plug 'fatih/vim-go', { 'tag': '*' } " Plugin options Plug 'nsf/gocode', { 'tag': 'v.20150303', 'rtp': 'vim' } " Plugin outside ~/.vim/plugged with post-update hook Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' } " vim-airline " display the statusline at the bottom of the vim Plug 'vim-airline/vim-airline' Plug 'vim-airline/vim-airline-themes' " ale " check syntax on the contents of text buffers Plug 'dense-analysis/ale' " Initialize plugin system call plug#end() "================ " General settings "================ syntax on set cursorline set backspace=indent,eol,start " Show line numbers " set number " Show command in bottom bar " set showcmd " Visual autocomplete for command menu set wildmenu " Redraw only when necessary, speeds up macros set lazyredraw set hlsearch " system clipboard set clipboard=unnamed " remove all trailing whitepsace " https://vim.fandom.com/wiki/Remove_unwanted_spaces au BufWritePre * :%s/\s\+$//e " The NERD Tree noremap 1 1gt noremap 2 2gt noremap 3 3gt noremap 4 4gt noremap 5 5gt noremap 6 6gt noremap 7 7gt noremap 8 8gt noremap 9 9gt noremap 0 :tablast au BufNewFile,BufRead * set expandtab au BufNewFile,BufRead * set shiftwidth=4 au BufNewFile,BufRead * set softtabstop=4 au BufNewFile,BufRead * set tabstop=4 "=========================== " Language specific settings "=========================== " Python au BufNewFile,BufRead *.py set expandtab au BufNewFile,BufRead *.py set shiftwidth=4 au BufNewFile,BufRead *.py set softtabstop=4 au BufNewFile,BufRead *.py set tabstop=4 " Markdown au BufNewFile,BufRead *.md set expandtab au BufNewFile,BufRead *.md set shiftwidth=4 au BufNewFile,BufRead *.md set softtabstop=4 au BufNewFile,BufRead *.md set tabstop=4
  • Whenever I'm looking for plugins these days [OC]
    29 projects | /r/neovim | 7 Jul 2022
  • what vimL plugins are you still using?
    26 projects | /r/neovim | 1 Jul 2022
    vim-easy-align - I haven't yet found a Lua-based equivalent with the same flexibility.
  • align.nvim - A minimal plugin to align your lines to a certain character, string, or Lua pattern
    3 projects | /r/neovim | 6 Jun 2022
    Also does this plugin support operator-pending mode like vim-easy-align does? For instance doing gaip, ("go align in paragraph; commas) in normal mode aligns all commas in the current paragraph.
  • Aligning text. Prevent lsp.buf.formatting from shifting inline comments?
    1 project | /r/neovim | 19 May 2022
    Regarding your last question, there’s this: https://github.com/junegunn/vim-easy-align

What are some alternatives?

When comparing vim-indent-object and vim-easy-align you can also consider the following projects:

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

goyo.vim - :tulip: Distraction-free writing in Vim

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

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

nyoom.nvim - A Neovim framework and doom emacs alternative for the stubborn martian hacker. Powered by fennel and the oxocarbon theme

neovim-config

vim-awesome - Awesome Vim plugins from across the universe

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

tagbar - Vim plugin that displays tags in a window, ordered by scope

nvim-treesitter-textobjects

vim-visual-star-search - Start a * or # search from a visual block