Skip to main content
Module

x/dpp_vim/deps.ts>op.cdpath

Dark powered plugin manager for Vim/neovim
Latest
variable op.cdpath
import { op } from "https://deno.land/x/dpp_vim@v0.2.0/deps.ts";
const { cdpath } = op;

This is a list of directories which will be searched when using the :cd, :tcd and :lcd commands, provided that the directory being searched for has a relative path, not an absolute part starting with "/", "./" or "../", the 'cdpath' option is not used then. The 'cdpath' option's value has the same form and semantics as 'path'. Also see file-searching. The default value is taken from $CDPATH, with a "," prepended to look in the current directory first. If the default value taken from $CDPATH is not what you want, include a modified version of the following command in your vimrc file to override it:

:let &cdpath = ',' .. substitute(substitute($CDPATH, '[, ]', '\\\0', 'g'), ':', ',', 'g')

This option cannot be set from a modeline or in the sandbox, for security reasons. (parts of 'cdpath' can be passed to the shell to expand file names).

(default: equivalent to $CDPATH or ",,")

type

GlobalOption<string>