martanne / vis

A vi-like editor based on Plan 9's structural regular expressions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Suggestion: generic set show

erf opened this issue · comments

I was thinking we could add a generic set show [regex] [string], for e.g. in case you'd only like to highlight more than one space or some other arbitrary pattern, just put in the [regex] and a [string] replacement for the pattern.

To turn it off again, you'd write set show [regex] off.

I made a plugin which does this called vis-highlight

You can type: :hi "somePattern"