summaryrefslogtreecommitdiff
path: root/runtime/optwin.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-03-29 20:49:05 +0200
committerBram Moolenaar <Bram@vim.org>2021-03-29 20:49:05 +0200
commit8b9abfd86c736ed3f298dfa8b50a962c118b3983 (patch)
tree65874e39326cd7bfa6f8a73861bb00d01d5e4d76 /runtime/optwin.vim
parent9dbe701fe19597ad59c0e0c70a05927b587bea9f (diff)
downloadvim-git-8b9abfd86c736ed3f298dfa8b50a962c118b3983.tar.gz
patch 8.2.2675: directory change in a terminal window shell is not followedv8.2.2675
Problem: Directory change in a terminal window shell is not followed. Solution: Add the 'autoshelldir' option. (closes #6290)
Diffstat (limited to 'runtime/optwin.vim')
-rw-r--r--runtime/optwin.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/optwin.vim b/runtime/optwin.vim
index 45aa8f930..176f9eafc 100644
--- a/runtime/optwin.vim
+++ b/runtime/optwin.vim
@@ -266,6 +266,8 @@ if exists("+autochdir")
call <SID>AddOption("autochdir", gettext("change to directory of file in buffer"))
call <SID>BinOptionG("acd", &acd)
endif
+call <SID>AddOption("autoshelldir", gettext("change to pwd of shell in terminal buffer"))
+call <SID>BinOptionG("asd", &asd)
call <SID>AddOption("wrapscan", gettext("search commands wrap around the end of the buffer"))
call <SID>BinOptionG("ws", &ws)
call <SID>AddOption("incsearch", gettext("show match for partly typed search command"))