Skip to main content
Module

x/denops_std/option/mod.ts>scrolljump

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

Minimal number of lines to scroll when the cursor gets off the screen (e.g., with "j"). Not used for scroll commands (e.g., CTRL-E, CTRL-D). Useful if your terminal scrolls very slowly. When set to a negative number from -1 to -100 this is used as the percentage of the window height. Thus -50 scrolls half the window height. NOTE: This option is set to 1 when 'compatible' is set.

type

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