Skip to main content
Module

x/dpp_vim/deps.ts>op.splitkeep

Dark powered plugin manager for Vim/neovim
Latest
variable op.splitkeep
import { op } from "https://deno.land/x/dpp_vim@v0.2.0/deps.ts";
const { splitkeep } = op;

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")

type

GlobalOption<string>