Skip to main content
Module

x/denops_std/option/mod.ts>cursorbind

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

When this option is set, as the cursor in the current window moves other cursorbound windows (windows that also have this option set) move their cursors to the corresponding line and column. This option is useful for viewing the differences between two versions of a file (see 'diff'); in diff mode, inserted and deleted lines (though not characters within a line) are taken into account.

(default off)

type

{ get(denops: Denops): Promise<boolean>; set(denops: Denops, value: boolean): Promise<void>; reset(denops: Denops): Promise<void>; getLocal(denops: Denops): Promise<boolean>; setLocal(denops: Denops, value: boolean): Promise<void>; resetLocal(denops: Denops): Promise<void>; }