Is your feature request about something that is currently impossible or hard to do? Please describe the problem.
It would be nice if there were a way to have current line number aligned right when set number relativenumber is active:
Describe the solution you'd like
A setting, like set relativenumberopt=right that aligns current relativenumber line right.
—
Reply to this email directly, view it on GitHub.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.![]()
I think this is a duplicate of #1875, #680 and possibly #1368
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
True, didn't search it properly
—
Reply to this email directly, view it on GitHub.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.![]()
I think the reason for the left-alignment was, that it would look confusing for a file with 3 lines:
1 cursorline
1 1 line before the cursor
2 2nd line after cursor
Which looks strange, so we made the decision to left align it to make it stand out more.
But now we have highlighting groups LineNr, LineNrAbove and LineNrBelow so perhaps it's time to revisit this decision ?
—
Reply to this email directly, view it on GitHub.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.![]()
Do you think about option or change of the current default alignment to what set rnu has?
—
Reply to this email directly, view it on GitHub.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.![]()
Personally, I don't want another option for such a small change. But this would be a backwards-incompatible change, so not sure
—
Reply to this email directly, view it on GitHub.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.![]()
So I have removed a single line:
https://github.com/vim/vim/blob/4d56b971cbae01cc454eb09713326224993e38ed/src/drawscreen.c#L1227
and it "works":
—
Reply to this email directly, view it on GitHub.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.![]()
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
There should be a similar line in drawline.c which you also need to
change:
Do you think it makes sense to PR it?
—
Reply to this email directly, view it on GitHub.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you commented.![]()
When not using clearly different highlighting, near the start of the file, with wrapping lines, it becomes very hard to spot the line number. Maybe it doesn't look nice left aligned, but it is functional.
—
Reply to this email directly, view it on GitHub.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you commented.![]()
—
Reply to this email directly, view it on GitHub.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you commented.![]()
'rightaligncursorlinenumber' ?
Indeed, it doesn't look and sound very good.
I can live without it.
—
Reply to this email directly, view it on GitHub.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you commented.![]()
Closed #9847.
—
Reply to this email directly, view it on GitHub.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you commented.![]()
it's not complete! I can't live like this.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you commented.![]()