Skip to main content
Module

x/denops_std/option/mod.ts>guicursor

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

{only available when compiled with GUI enabled, and for Win32 console} This option tells Vim what the cursor should look like in different modes. It fully works in the GUI. In a Win32 console, only the height of the cursor can be changed. This can be done by specifying a block cursor, or a percentage for a vertical or horizontal cursor. For a console the 't_SI', 't_SR', and 't_EI' escape sequences are used.

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>; }