Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show numbers, and ignore folded/hidden text? #9

Open
auwsmit opened this issue May 23, 2016 · 1 comment
Open

Show numbers, and ignore folded/hidden text? #9

auwsmit opened this issue May 23, 2016 · 1 comment

Comments

@auwsmit
Copy link

auwsmit commented May 23, 2016

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.

@xcodebuild
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants