All Projects → zk-phi → Indent Guide

zk-phi / Indent Guide

Show vertical lines to guide indentation

Labels

Projects that are alternatives of or similar to Indent Guide

Rg.el
Emacs search tool based on ripgrep
Stars: ✭ 277 (-9.77%)
Mutual labels:  emacs
Fountain Mode
Emacs major mode for screenwriting in Fountain plain-text markup
Stars: ✭ 288 (-6.19%)
Mutual labels:  emacs
Themecreator
https://mswift42.github.io/themecreator/ create themes for intellij, textmate, atom, emacs, vim and gnome terminal.
Stars: ✭ 303 (-1.3%)
Mutual labels:  emacs
Radian
🍉 Dotfiles that marry elegance and practicality.
Stars: ✭ 274 (-10.75%)
Mutual labels:  emacs
Rogue
Personal Emacs config
Stars: ✭ 286 (-6.84%)
Mutual labels:  emacs
Company Coq
A Coq IDE build on top of Proof General's Coq mode
Stars: ✭ 297 (-3.26%)
Mutual labels:  emacs
Cloudmacs
Selfhost your Emacs and access it in browser
Stars: ✭ 277 (-9.77%)
Mutual labels:  emacs
.spacemacs.d
My spacemacs configuration.
Stars: ✭ 307 (+0%)
Mutual labels:  emacs
Helm
Emacs incremental completion and selection narrowing framework
Stars: ✭ 3,109 (+912.7%)
Mutual labels:  emacs
Suggest.el
discover elisp functions that do what you want
Stars: ✭ 302 (-1.63%)
Mutual labels:  emacs
Spacehammer
Hammerspoon config inspired by Spacemacs
Stars: ✭ 280 (-8.79%)
Mutual labels:  emacs
Helm Projectile
Helm UI for Projectile
Stars: ✭ 285 (-7.17%)
Mutual labels:  emacs
Emax64
64-bit Emacs for Windows with ImageMagick 7
Stars: ✭ 301 (-1.95%)
Mutual labels:  emacs
Dotfiles
●📄 Ryan McGeary's configuration shiznit that makes him productive
Stars: ✭ 278 (-9.45%)
Mutual labels:  emacs
Emacs Emojify
Display emojis in Emacs
Stars: ✭ 303 (-1.3%)
Mutual labels:  emacs
Objed
Navigate and edit text objects with Emacs. Development on pause.
Stars: ✭ 276 (-10.1%)
Mutual labels:  emacs
Vue Mode
Emacs major mode for vue.js
Stars: ✭ 290 (-5.54%)
Mutual labels:  emacs
Swift Mode
Emacs support for Apple's Swift programming language.
Stars: ✭ 308 (+0.33%)
Mutual labels:  emacs
Markovkeyboard
keyboard layout that changes by markov frequency
Stars: ✭ 307 (+0%)
Mutual labels:  emacs
Cider
The Clojure Interactive Development Environment that Rocks for Emacs
Stars: ✭ 3,229 (+951.79%)
Mutual labels:  emacs
  • indent-guide.el

インデントを縦線で表示

show vertical lines to guide indentation

** Screencast

Current block only

[[screencast.gif]]

All blocks

[[screencast2.gif]]

** Usage

Require this script

: (require 'indent-guide)

and call command =M-x indent-guide-mode=.

If you want to enable =indent-guide-mode= in all buffers, call function =indent-guide-global-mode=.

: (indent-guide-global-mode)

** Configuration

Column lines are propertized with =indent-guide-face=. So you may configure this face to make lines more pretty in your colorscheme.

: (set-face-background 'indent-guide-face "dimgray")

If you want indent-guide to show guide lines only in idle-time, you can set delay.

: (setq indent-guide-delay 0.1)

You may also change the character for guides.

: (setq indent-guide-char ":")

NOT RECOMMENDED: To show not only one guide line but all guide lines recursively, set =indent-guide-recursive= non-nil.

: (setq indent-guide-recursive t)

=indent-guide-recursive= seems buggy and laggy, so I recommend the =highlight-indentation= package for that purpose.

** Comparisons with highlight-indentation

  • look and feel

  • better block detection in LISP-like languages

    : (foo (foo : |(foobar baz |(foobar baz : || (foobar | | |(foobar : || |(qux)))) | | | (qux)))) : : indent-guide highlight-indentation

  • supports TABs

  • worse in performance, especially when you open a file that includes very large, deep blocks

** Known Limitations

does not work perfectly with following modes (commands) :

  • =company-mode=, =auto-complete-mode=, =popup.el= (tooltips may not rendered perfectly)
  • =pager.el= (guide lines are not rendered immediately, after =pager-up/down=)

contributions are welcome !

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].