diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-03-29 20:49:05 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-03-29 20:49:05 +0200 |
commit | 8b9abfd86c736ed3f298dfa8b50a962c118b3983 (patch) | |
tree | 65874e39326cd7bfa6f8a73861bb00d01d5e4d76 /runtime/optwin.vim | |
parent | 9dbe701fe19597ad59c0e0c70a05927b587bea9f (diff) |
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.vim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/optwin.vim b/runtime/optwin.vim index 45aa8f9307..176f9eafc8 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")) |