Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more
Module

x/denops_std/option/vim/mod.ts>autoshelldir

๐Ÿ“š Standard module for denops.vim
Go to Latest
variable autoshelldir
import { autoshelldir } from "https://deno.land/x/denops_std@v3.9.0/option/vim/mod.ts";

When on, Vim will change the current working directory whenever you change the directory of the shell running in a terminal window. You need proper setting-up, so whenever the shell's pwd changes an OSC 7 escape sequence will be emitted. For example, on Linux, you can source /etc/profile.d/vte.sh in your shell profile if you use bash or zsh.