diff runtime/doc/options.txt @ 24268:9257f3980f4a v8.2.2675

patch 8.2.2675: directory change in a terminal window shell is not followed Commit: https://github.com/vim/vim/commit/8b9abfd86c736ed3f298dfa8b50a962c118b3983 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Mar 29 20:49:05 2021 +0200 patch 8.2.2675: directory change in a terminal window shell is not followed Problem: Directory change in a terminal window shell is not followed. Solution: Add the 'autoshelldir' option. (closes https://github.com/vim/vim/issues/6290)
author Bram Moolenaar <Bram@vim.org>
date Mon, 29 Mar 2021 21:00:03 +0200
parents 90d1636a8fcb
children 4ab4ef0c48b1
line wrap: on
line diff
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -749,6 +749,15 @@ A jump table for the options with a shor
 	or selected.
 	Note: When this option is on some plugins may not work.
 
+			*'autoshelldir'* *'asd'* *'noautoshelldir'* *'noasd'*
+'autoshelldir' 'asd'	boolean (default off)
+			global
+	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.
+
 				*'arabic'* *'arab'* *'noarabic'* *'noarab'*
 'arabic' 'arab'		boolean (default off)
 			local to window