Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ddc_vim/deps.ts>op.selection

Dark deno-powered completion framework for neovim/Vim
Go to Latest
variable op.selection
import { op } from "https://deno.land/x/ddc_vim@v4.0.2/deps.ts";
const { selection } = op;

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.

The 'selection' option is set by the :behave command.

(default "inclusive")

type

GlobalOption<string>