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

x/ddc_vim/deps.ts>op.startofline

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

When "on" the commands listed below move the cursor to the first non-blank of the line. When off the cursor is kept in the same column (if possible). This applies to the commands:

  • CTRL-D, CTRL-U, CTRL-B, CTRL-F, "G", "H", "M", "L", "gg"
  • "d", "<<" and ">>" with a linewise operator
  • "%" with a count
  • buffer changing commands (CTRL-^, :bnext, :bNext, etc.)
  • Ex commands that only has a line number, e.g., ":25" or ":+". In case of buffer changing commands the cursor is placed at the column where it was the last time the buffer was edited. NOTE: This option is set when 'compatible' is set.

(default on)

type

GlobalOption<boolean>