Skip to main content
Module

x/denops_std/option/mod.ts>showcmd

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

Show (partial) command in the last line of the screen. Set this option off if your terminal is slow. In Visual mode the size of the selected area is shown:

  • When selecting characters within a line, the number of characters. If the number of bytes is different it is also displayed: "2-6" means two characters and six bytes.
  • When selecting more than one line, the number of lines.
  • When selecting a block, the size in screen characters: {lines}x{columns}. NOTE: This option is set to the Vi default value when 'compatible' is set and to the Vim default value when 'compatible' is reset.

(Vim default: on, off for Unix, Vi default: off, set in defaults.vim)

not available when compiled without the +cmdline_info feature

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