Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more
Module

x/denops_std/option/mod.ts>splitkeep

๐Ÿ“š Standard module for denops.vim
Latest
variable splitkeep
import { splitkeep } from "https://deno.land/x/denops_std@v6.5.1/option/mod.ts";

The value of this option determines the scroll behavior when opening, closing or resizing horizontal splits.

Possible values are: cursor Keep the same relative cursor position. screen Keep the text on the same screen line. topline Keep the topline the same.

For the "screen" and "topline" values, the cursor position will be changed when necessary. In this case, the jumplist will be populated with the previous cursor position. For "screen", the text cannot always be kept on the same screen line when 'wrap' is enabled.

(default "cursor")