Skip to main content
Module

x/denops_std/option/mod.ts>titlelen

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

Gives the percentage of 'columns' to use for the length of the window title. When the title is longer, only the end of the path name is shown. A '<' character before the path name is used to indicate this. Using a percentage makes this adapt to the width of the window. But it won't work perfectly, because the actual number of characters available also depends on the font used and other things in the title bar. When 'titlelen' is zero the full path is used. Otherwise, values from 1 to 30000 percent can be used. 'titlelen' is also used for the 'titlestring' option.

(default 85)