Skip to main content
Module

x/denops_std/option/mod.ts>viewdir

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

Name of the directory where to store files for :mkview. This option cannot be set from a modeline or in the sandbox, for security reasons.

(default for Amiga and Win32: "$VIM/vimfiles/view", for Unix: "~/.vim/view", for macOS: "$VIM:vimfiles:view" for VMS: "sys$login:vimfiles/view")

not available when compiled without the +mksession feature

type

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