Skip to main content
Module

x/denops_std/option/mod.ts>gdefault

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

When on, the ":substitute" flag 'g' is default on. This means that all matches in a line are substituted instead of one. When a 'g' flag is given to a ":substitute" command, this will toggle the substitution of all or one match. See |complex-change|.

type

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