/show-indent-guides

Show indentation guides in emacs

Primary LanguageEmacs LispGNU General Public License v3.0GPL-3.0

What Is It?

This package provides show-indent-guides-mode which will render vertical bars at each level of indent. In addition to languages with a fixed indent offset such as C, it can be used in languages with arbitrary offsets such as Lisp. To avoid input lag, a longer idle delay is used in evil insert mode so that guides are not unnecessarily redrawn when characters are inserted on the end of a line. (Those not using Evil may wish to increase the value of shig-idle-time if they experience input lag.)

How to Activate?

To render indent guides in code files:

(add-hook 'prog-mode-hook #'show-indent-guides-mode)

Pretty Picture

./shig-sample.png