Mercurial > vim
diff runtime/doc/recover.txt @ 18972:130acb903dbe
Update runtime files.
Commit: https://github.com/vim/vim/commit/5666fcd0bd794dd46813824cce63a38bcae63794
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Dec 26 14:35:26 2019 +0100
Update runtime files.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 26 Dec 2019 14:45:08 +0100 |
parents | af69c9335223 |
children | 350e1d3131d8 |
line wrap: on
line diff
--- a/runtime/doc/recover.txt +++ b/runtime/doc/recover.txt @@ -36,7 +36,7 @@ with the extension ".swp". - On Unix, a '.' is prepended to swap file names in the same directory as the edited file. This avoids that the swap file shows up in a directory listing. -- On MS-DOS machines and when the 'shortname' option is on, any '.' in the +- On MS-Windows machines and when the 'shortname' option is on, any '.' in the original file name is replaced with '_'. - If this file already exists (e.g., when you are recovering from a crash) a warning is given and another extension is used, ".swo", ".swn", etc. @@ -75,7 +75,7 @@ If you want to put swap files in a fixed following ones in your .vimrc: :set dir=dh2:tmp (for Amiga) :set dir=~/tmp (for Unix) - :set dir=c:\\tmp (for MS-DOS and Win32) + :set dir=c:\\tmp (for Win32) This is also very handy when editing files on floppy. Of course you will have to create that "tmp" directory for this to work! @@ -110,7 +110,7 @@ the time with the 'updatetime' option. After writing to the swap file Vim syncs the file to disk. This takes some time, especially on busy Unix systems. If you don't want this you can set the 'swapsync' option to an empty string. The risk of losing work becomes bigger -though. On some non-Unix systems (MS-DOS, Amiga) the swap file won't be +though. On some non-Unix systems (MS-Windows, Amiga) the swap file won't be written at all. If the writing to the swap file is not wanted, it can be switched off by