summaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-06-05 22:33:42 +0200
committerBram Moolenaar <Bram@vim.org>2020-06-05 22:33:42 +0200
commit002bc79991286934a9593b80635c27d4238cdfc4 (patch)
tree777b6a2574f8dfe4ac76552a0a8e44ba005e7961 /runtime/doc
parent3fffa97159a427067b60c80ed4645e168cc5c4bd (diff)
downloadvim-git-002bc79991286934a9593b80635c27d4238cdfc4.tar.gz
patch 8.2.0909: cannot go back to the previous local directoryv8.2.0909
Problem: Cannot go back to the previous local directory. Solution: Add "tcd -" and "lcd -". (Yegappan Lakshmanan, closes #4362)
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/editing.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/runtime/doc/editing.txt b/runtime/doc/editing.txt
index f33ffb995..fae711810 100644
--- a/runtime/doc/editing.txt
+++ b/runtime/doc/editing.txt
@@ -1326,6 +1326,10 @@ present in 'cpoptions' and "!" is not used in the command.
*: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 used in the command.
*: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()|.