Kungi
Kungi

Reputation: 1536

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).

enter image description here

Upvotes: 6

Views: 2402

Answers (2)

user673592
user673592

Reputation: 2120

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 M-x highlight-indentation.

Upvotes: 3

Drew
Drew

Reputation: 30708

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.

Upvotes: 1

Related Questions