[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Relative line numbers (vim like)

From: Arun Isaac
Subject: Re: Relative line numbers (vim like)
Date: Sat, 19 Nov 2016 08:03:21 +0530
User-agent: mu4e 0.9.16; emacs 25.1.1

> I found this (the first answer)
> and it pretty much works as expected, but I want one thing to change.
> Instead of showing 0 at the current line I want to show the
> actual line number.

Why not use the package linum-relative
( as mentioned in the second
answer? I use linum-relative and it works well for me. In order to get
linum-relative to show the actual line number on the current line, you
need to set linum-relative-current-symbol to "".

(setq linum-relative-current-symbol "")

Attachment: signature.asc
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]