Skip to main content
Module

x/denops_std/option/mod.ts>scroll

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

Number of lines to scroll with CTRL-U and CTRL-D commands. Will be set to half the number of lines in the window when the window size changes. This may happen when enabling the status-line or 'tabline' option after setting the 'scroll' option. If you give a count to the CTRL-U or CTRL-D command it will be used as the new value for 'scroll'. Reset to half the window height with ":set scroll=0".

(default: half the window height)