Questions tagged [ruler]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
18 views

Ruler display in VIM is misbehaving inside GNU Screen

As I scroll through a .c file in VIM inside GNU screen, using 'down' arrow, the ruler display is misbehaving as you can see in the attached image. This doesn't happen if I press 'page down' key. This ...
user avatar
  • 1
1 vote
1 answer
228 views

How to change the color of the vim ruler?

was hoping someone could help me in changing the color of the ruler in vim? Specifically, the opacity as I'm trying to make it match the rest of my vim opacity, but can't seem to pinpoint where ...
user avatar
1 vote
1 answer
79 views

How to show the currents char code in ruler

I want the ruler made to show the current characters code. This code differs from encoding to encoding. This is because I have to handle different file comming from users. Some from Unix/Linux, most ...
user avatar
  • 145
0 votes
1 answer
131 views

Set ruler does nothing

I would like to use the setruler option in order to know which line number and column my cursor is on. I have tried typing the command manually by typing :set ruler and also adding set ruler to my ~/....
user avatar
0 votes
1 answer
72 views

How to show ruler always in the last line instead of statusline?

From h:ruler: If a window has a status line, the ruler is shown there. Otherwise, it is shown in the last line of the screen. How to instead show it only in the last line for the currently active ...
user avatar
  • 371
-1 votes
1 answer
61 views

Remove right text (line numbers , ALL) in command line

I am using neovim and i want to remove the indicated text (0,0-1 ALL).
user avatar
  • 25
3 votes
1 answer
560 views

Default rulerformat

I like the default rulerformat, but I would like to add to it. However it seems the default value is hidden. If I try these: set rulerformat set rulerformat? I just get: rulerformat= Same for ...
user avatar
  • 746
1 vote
0 answers
53 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 ...
user avatar
  • 325
3 votes
0 answers
154 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 %=. ...
user avatar
  • 41
4 votes
1 answer
597 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 ...
user avatar
  • 199
0 votes
1 answer
56 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 ?
user avatar
  • 25
2 votes
2 answers
2k 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
user avatar