summaryrefslogtreecommitdiff
path: root/runtime/doc/recover.txt
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/doc/recover.txt')
-rw-r--r--runtime/doc/recover.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/doc/recover.txt b/runtime/doc/recover.txt
index c4007db93..a1e1feb69 100644
--- a/runtime/doc/recover.txt
+++ b/runtime/doc/recover.txt
@@ -28,6 +28,9 @@ You can see the name of the current swap file being used with the command:
:sw[apname] *:sw* *:swapname*
+Or you can use the |swapname()| function, which also allows for seeing the
+swap file name of other buffers.
+
The name of the swap file is normally the same as the file you are editing,
with the extension ".swp".
- On Unix, a '.' is prepended to swap file names in the same directory as the