Skip to main content
Module

x/denops_std/option/mod.ts>rulerformat

📚 Standard module for denops.vim
Go to Latest
variable rulerformat
import { rulerformat } from "https://deno.land/x/denops_std@v4.1.6/option/mod.ts";

When this option is not empty, it determines the content of the ruler string, as displayed for the 'ruler' option. The format of this option is like that of 'statusline'. This option cannot be set in a modeline when 'modelineexpr' is off.

The default ruler width is 17 characters. To make the ruler 15 characters wide, put "%15(" at the start and "%)" at the end. Example:

:set rulerformat=%15(%c%V\ %p%%%)

(default empty)

not available when compiled without the +statusline feature

type

{ get(denops: Denops): Promise<string>; set(denops: Denops, value: string): Promise<void>; reset(denops: Denops): Promise<void>; getGlobal(denops: Denops): Promise<string>; setGlobal(denops: Denops, value: string): Promise<void>; resetGlobal(denops: Denops): Promise<void>; }