coldnew / linum-relative

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

Show current line number instead of "0" #25

Closed zzantares closed 8 years ago

zzantares commented 8 years ago

Hi, I want to know if is there some setting I could apply in order to show the current line number instead of just seeing a zero on the linum, for example:

3
2
1
4  This is the current line|
1
2
3

Thanks in advance!

coldnew commented 8 years ago

I really need to find time to update the readme :)

You can set linum-relative-current-symbol variable to empty string, this will make linum-relative show real line number. ex:

(setq linum-relative-current-symbol "")
zzantares commented 8 years ago

Thanks!