import { op } from "https://deno.land/x/ddc_vim@v3.8.0/deps.ts";
const { viewoptions } = op;
Changes the effect of the :mkview
command. It is a comma-separated
list of words. Each word enables saving and restoring something:
word save and restore
cursor cursor position in file and in window
folds manually created folds, opened/closed folds and local
fold options
options options and mappings local to a window or buffer (not
global values for local options)
localoptions same as "options"
slash backslashes in file names replaced with forward
slashes
unix with Unix end-of-line format (single <NL>
), even when
on MS-Windows
curdir the window-local directory, if set with :lcd
"slash" and "unix" are useful on MS-Windows when sharing view files with Unix. The Unix version of Vim cannot source dos format scripts, but the MS-Windows version of Vim can source unix format scripts.
(default: "folds,options,cursor,curdir")
not available when compiled without the +mksession
feature