nlinum-relative icon indicating copy to clipboard operation
nlinum-relative copied to clipboard

Show numbers, and ignore folded/hidden text?

Open auwsmit opened this issue 8 years ago • 1 comments

This is more of a question (or possibly feature request) than an issue.

I use Evil-mode, and I use relative line numbers so that I don't have to count line numbers. I glance at the line I want, see its line number distance, and jump there with 10j (if it were 10 lines down) for example. However, this doesn't work when I have anything folded in the buffer view, because nlinum-relative is counting the hidden lines.

I think it would be nice to have an option to ignore hidden text for cases like this. HideShow and org-mode are the only ways that I know of to hide text, and both cause this same effect.

auwsmit avatar May 23 '16 23:05 auwsmit

Nice feature idea, I'll try to make it. But I think it's not easy to do with jit-lock.

xcodebuild avatar May 24 '16 14:05 xcodebuild