comparison runtime/doc/options.txt @ 14475:dddba3937532 v8.1.0251

patch 8.1.0251: using full path is not supported for 'backupdir' commit https://github.com/vim/vim/commit/b782ba475a3f8f2b0be99dda164ba4545347f60f Author: Bram Moolenaar <Bram@vim.org> Date: Tue Aug 7 21:39:28 2018 +0200 patch 8.1.0251: using full path is not supported for 'backupdir' Problem: Using a full path is supported for 'directory' but not for 'backupdir'. (Mikolaj Machowski) Solution: Support 'backupdir' as well. (Christian Brabandt, closes #179)
author Christian Brabandt <cb@256bit.org>
date Tue, 07 Aug 2018 21:45:05 +0200
parents 2f7e67dd088c
children 5c5908e81e93
comparison
equal deleted inserted replaced
14474:6325f850efcf 14475:dddba3937532
1052 - Spaces after the comma are ignored, other spaces are considered part 1052 - Spaces after the comma are ignored, other spaces are considered part
1053 of the directory name. To have a space at the start of a directory 1053 of the directory name. To have a space at the start of a directory
1054 name, precede it with a backslash. 1054 name, precede it with a backslash.
1055 - To include a comma in a directory name precede it with a backslash. 1055 - To include a comma in a directory name precede it with a backslash.
1056 - A directory name may end in an '/'. 1056 - A directory name may end in an '/'.
1057 - For Unix and Win32, if a directory ends in two path separators "//",
1058 the swap file name will be built from the complete path to the file
1059 with all path separators changed to percent '%' signs. This will
1060 ensure file name uniqueness in the backup directory.
1061 On Win32, it is also possible to end with "\\". However, When a
1062 separating comma is following, you must use "//", since "\\" will
1063 include the comma in the file name. Therefore it is recommended to
1064 use '//', instead of '\\'.
1057 - Environment variables are expanded |:set_env|. 1065 - Environment variables are expanded |:set_env|.
1058 - Careful with '\' characters, type one before a space, type two to 1066 - Careful with '\' characters, type one before a space, type two to
1059 get one in the option (see |option-backslash|), for example: > 1067 get one in the option (see |option-backslash|), for example: >
1060 :set bdir=c:\\tmp,\ dir\\,with\\,commas,\\\ dir\ with\ spaces 1068 :set bdir=c:\\tmp,\ dir\\,with\\,commas,\\\ dir\ with\ spaces
1061 < - For backwards compatibility with Vim version 3.0 a '>' at the start 1069 < - For backwards compatibility with Vim version 3.0 a '>' at the start
2678 it doesn't show in a directory listing. On MS-Windows the "hidden" 2686 it doesn't show in a directory listing. On MS-Windows the "hidden"
2679 attribute is set and a dot prepended if possible. 2687 attribute is set and a dot prepended if possible.
2680 - A directory starting with "./" (or ".\" for MS-DOS et al.) means to 2688 - A directory starting with "./" (or ".\" for MS-DOS et al.) means to
2681 put the swap file relative to where the edited file is. The leading 2689 put the swap file relative to where the edited file is. The leading
2682 "." is replaced with the path name of the edited file. 2690 "." is replaced with the path name of the edited file.
2683 - For Unix and Win32, if a directory ends in two path separators "//" 2691 - For Unix and Win32, if a directory ends in two path separators "//",
2684 or "\\", the swap file name will be built from the complete path to 2692 the swap file name will be built from the complete path to the file
2685 the file with all path separators substituted to percent '%' signs. 2693 with all path separators substituted to percent '%' signs. This will
2686 This will ensure file name uniqueness in the preserve directory. 2694 ensure file name uniqueness in the preserve directory.
2687 On Win32, when a separating comma is following, you must use "//", 2695 On Win32, it is also possible to end with "\\". However, When a
2688 since "\\" will include the comma in the file name. 2696 separating comma is following, you must use "//", since "\\" will
2697 include the comma in the file name. Therefore it is recommended to
2698 use '//', instead of '\\'.
2689 - Spaces after the comma are ignored, other spaces are considered part 2699 - Spaces after the comma are ignored, other spaces are considered part
2690 of the directory name. To have a space at the start of a directory 2700 of the directory name. To have a space at the start of a directory
2691 name, precede it with a backslash. 2701 name, precede it with a backslash.
2692 - To include a comma in a directory name precede it with a backslash. 2702 - To include a comma in a directory name precede it with a backslash.
2693 - A directory name may end in an ':' or '/'. 2703 - A directory name may end in an ':' or '/'.