coldnew / linum-relative

display relative line number in the left margin in emacs
169 stars 20 forks source link

Show visual relative line numbers #37

Open kshenoy opened 8 years ago

kshenoy commented 8 years ago

linum-relative seems to be showing the relative numbers based on the actual or logical line numbers instead of visual lines.

screenshot from 2016-07-20 18-37-42

Eg. from the screenshot, currently we're on the TODO on line 12. The section heading 'Packages' is 27 lines below the current line. However, we can jump to it (using evil) directly using 3j since it's only 3 "visual" lines away.

Would it be possible to show the visual relative line numbers instead of the actual relative line numbers?

Thanks for a great plugin :+1: