Skip to content

Cursor line as percentage#5319

Open
d3m3t3r wants to merge 3 commits intomawww:masterfrom
d3m3t3r:cursor_line_percent
Open

Cursor line as percentage#5319
d3m3t3r wants to merge 3 commits intomawww:masterfrom
d3m3t3r:cursor_line_percent

Conversation

@d3m3t3r
Copy link
Copy Markdown

@d3m3t3r d3m3t3r commented Apr 25, 2025

Adds %val{cursor-line-percent} value to obtain the cursor line as percentage of the total lines. For use in modelinefmt.

Yes, I know it can be computed in an external process but that seems like an overkill to launch a new process every time to get such a basic (and otherwise commonly supported) indicator.

d3m3t3r added 2 commits April 25, 2025 20:25
I dedicate any and all copyright interest in this software to the
public domain.  I make this dedication for the benefit of the public at
large and to the detriment of my heirs and successors.  I intend this
dedication to be an overt act of relinquishment in perpetuity of all
present and future rights to this software under copyright law.
@d3m3t3r d3m3t3r changed the title Cursor line percent as percentage Cursor line as percentage Apr 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant