简体   繁体   中英

Sublime Text 2 like block highlighting in emacs

Is there an emacs plugin which creates these nice vertical lines for the code blocks like in Sublime Text 2? (See attached screenshots for what I mean).

在此输入图像描述

Please see highlight-indentation:

https://github.com/antonj/Highlight-Indentation-for-Emacs/

Unfortunately the current version is very simple and it draws character-wide columns instead of thin lines so it doesn't look very appealing. But at least it's a start.

I do not use it by default - if I'm lost then I do Mx highlight-indentation .

It's not quite the same thing, but you get a similar benefit from the features mentioned here:

http://www.emacswiki.org/emacs/HighlightCurrentColumn

http://www.emacswiki.org/emacs/VlineMode

Vline can use a thin line (or a face). Column-marker highlighting stays put (doesn't move with the cursor), and you can highlight any number of columns, but it uses a face, not a thin line.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM