Questions tagged [ruler]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
4
votes
1answer
121 views

How to set ruler with decimals in .vimrc file?

I have this line in .vimrc file set ruler which shows the percentage of current line. But for very large text files, it would just show 0% for first couple hundreds of lines, which is not quite ...
2
votes
0answers
41 views

How to set rulerformat to align left and full width in vim?

I use ruler format like this, set rulerformat=%36(%5l,%-6(%c%V%)\ %f%)%* However, if the filename gets too long, it will be broken. So I like to align left, but It can't be align like statusline %=. ...
1
vote
2answers
975 views

How to display file size in vim rulerformat?

I want to display file size in the rulerformat in vim. Please answer for all file size formats like bits, bytes, kibibytes, mebibytes, gibibytes
1
vote
0answers
31 views

rulerformat truncated when filename included

Given the limited screen real estate on my device (27x48), I'm trying set laststatus=1 set rulerformat=%25(%<%f%M\ %=%l\|%c%) No matter the minwid prefix, or if I apply it to %() or %f, or if I ...
0
votes
1answer
43 views

Isolate a matched virtual column ruler to the cursorline only?

I'd like to add ruler marks/virtual columns along the lines of matchadd('ColorColumn', '\%81v', 100) while restricting their display to the cursorline. Any ideas ?