Skip to content

Cursor line as percentage #5319

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

d3m3t3r
Copy link

@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