sponsor Vim development Vim logo Vim Book Ad

indent-bar : Use vertical bar to display indentation level

 script karma  Rating 9/3, Downloaded by 398  Comments, bugs, improvements  Vim wiki

created by
Jux Shi
 
script type
utility
 
description
This plugin uses vertical bars to display indentation level, pretty much like the indentation display in Sublime Text.
 
install details
Simply download the plugin files and put them in ~/.vim (Linux) or ~/vimfile (Windows) to achieve the effects. Or, you can also use a third party package manager to install the plugin, for example, if you use 'junegunn/vim-plug' as your package manager, you can put below line into your ~/.vimrc

Plug 'juniway/indent-bar'

Customization
You can change the style of vertical bar by setting g:indenters_char variable:

for example:
set let g:indent_bar_char = '¦'
the provided options are:  ¦, ┆ or │

Note: these characters will only work with files whose encoding is UTF-8.

Github Repository:
https://github.com/juniway/indent-bar
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
indent-bar.zip 0.1.1 2020-05-02 8.0 Jux Shi fix typo
indenters.zip 0.1.0 2020-05-01 8.0 Jux Shi Initial upload
ip used for rating: 18.118.200.197

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github