You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cursor style: a gutter marker instead of a repainted row #1232
A third cursor style for cursor_line: a marker in the gutter (for example ▶ in the accent color) on the current line, while the line itself keeps its own add/delete background and syntax colors. Something like cursor_line = "gutter".
Why?
I move through a diff with j/k and add notes with c. With row, the current line is repainted, so the line I am about to comment on loses its diff coloring. With number, the mark sits in the line-number column, which is a small target to follow while scrolling. Coming from revdiff, a ▶ in the gutter is easy to track and leaves the code untouched.
How? (optional)
One extra cell in the existing gutter, painted only on the current line, with its color from a theme token (defaulting to the accent color).
Activity