Skip to content
πŸ“ Simple indentation guides for your buffers
Vim script
Branch: master
Clone or download
Pull request Compare This branch is even with thaerkh:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Space indents are visually identified by the "┆" character, while tabs are distinguished by "|". Manually calling the command IndentGuidesToggle will toggle indent guides scoped to a specific buffer.

If there are any files you would like to not add indent guides for, add the filetype to the ignore list:

let g:indentguides_ignorelist = ['text']

If you'd like to change the default space and tab indent characters, modify the following in your vimrc:

let g:indentguides_spacechar = '┆'
let g:indentguides_tabchar = '|'


Using Plug

Paste the following in your ~/.vimrc file:

if empty(glob('~/.vim/autoload/plug.vim'))
  silent execute "!curl -fLo ~/.vim/autoload/plug.vim --create-dirs"
  autocmd VimEnter * PlugInstall | source $MYVIMRC

call plug#begin('~/.vim/plugged')
Plug 'thaerkh/vim-indentguides'
call plug#end()

If you don't already have Plug, this will auto-download Plug for you and install the indentguides plugin.

If you already have Plug, simply paste Plug 'thaerkh/vim-indentguides' and call :PlugInstall to install the plugin.

Remember to :PlugUpdate often to get all the latest features and bug fixes!

Using Vundle

Paste this in your ~./vimrc:

Plugin 'thaerkh/vim-indentguides'

Using Pathogen

cd into your bundle path and clone the repo:

cd ~/.vim/bundle
git clone



You can’t perform that action at this time.