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

x/denops_std/option/mod.ts>selection

๐Ÿ“š Standard module for denops.vim
Go to Latest
variable selection
import { selection } from "https://deno.land/x/denops_std@v3.7.1/option/mod.ts";

This option defines the behavior of the selection. It is only used in Visual and Select mode. Possible values: value past line inclusive ~ old no yes inclusive yes yes exclusive yes no "past line" means that the cursor is allowed to be positioned one character past the line. "inclusive" means that the last character of the selection is included in an operation. For example, when "x" is used to delete the selection. When "old" is used and 'virtualedit' allows the cursor to move past the end of line the line break still isn't included. Note that when "exclusive" is used and selecting from the end backwards, you cannot include the last character of a line, when starting in Normal mode and 'virtualedit' empty.