Mercurial > vim
diff runtime/doc/editing.txt @ 20711:d91b8d1e5198 v8.2.0909
patch 8.2.0909: cannot go back to the previous local directory
Commit: https://github.com/vim/vim/commit/002bc79991286934a9593b80635c27d4238cdfc4
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jun 5 22:33:42 2020 +0200
patch 8.2.0909: cannot go back to the previous local directory
Problem: Cannot go back to the previous local directory.
Solution: Add "tcd -" and "lcd -". (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/4362)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 05 Jun 2020 22:45:04 +0200 |
parents | b60bb094af52 |
children | 661eb972cb22 |
line wrap: on
line diff
--- a/runtime/doc/editing.txt +++ b/runtime/doc/editing.txt @@ -1326,6 +1326,10 @@ present in 'cpoptions' and "!" is not us *:tch* *:tchdir* :tch[dir][!] Same as |:tcd|. + *:tcd-* +:tcd[!] - Change to the previous current directory, before the + last ":tcd {path}" command. + *:lc* *:lcd* :lc[d][!] {path} Like |:cd|, but only set the current directory when the cursor is in the current window. The current @@ -1335,6 +1339,10 @@ present in 'cpoptions' and "!" is not us *:lch* *:lchdir* :lch[dir][!] Same as |:lcd|. + *:lcd-* +:lcd[!] - Change to the previous current directory, before the + last ":lcd {path}" command. + *:pw* *:pwd* *E187* :pw[d] Print the current directory name. Also see |getcwd()|.