Skip to main content
Module

x/denops_std/option/mod.ts>cdhome

📚 Standard module for denops.vim
Go to Latest
variable cdhome
import { cdhome } from "https://deno.land/x/denops_std@v4.1.7/option/mod.ts";

When on, :cd, :tcd and :lcd without an argument changes the current working directory to the $HOME directory like in Unix. When off, those commands just print the current directory name. On Unix this option has no effect. NOTE: This option is reset when 'compatible' is set.

(default: off)

type

{ get(denops: Denops): Promise<boolean>; set(denops: Denops, value: boolean): Promise<void>; reset(denops: Denops): Promise<void>; getGlobal(denops: Denops): Promise<boolean>; setGlobal(denops: Denops, value: boolean): Promise<void>; resetGlobal(denops: Denops): Promise<void>; }