Home
last modified time | relevance | path

Searched refs:backup (Results 1 – 25 of 86) sorted by relevance

1234

/vim-8.2.3635/src/testdir/
H A Dtest_backup.vim1 " Tests for the backup function
6 set backup backupdir=. backupskip=
11 " backup file is only created after
17 set backup&vim backupdir&vim backupskip&vim
23 set backup backupdir=. backupskip=*.txt
28 " backup file is only created after
33 set backup&vim backupdir&vim backupskip&vim
39 set backup backupdir=.// backupskip=
44 " backup file is only created after
55 set backup&vim backupdir&vim backupskip&vim
[all …]
H A Dtest_writefile.vim63 set backupcopy=yes writebackup& backup&
85 set backup& writebackup& backupdir&vim backupskip&vim
94 " but then the backup file must remain
108 set backup& writebackup& backupdir&vim backupskip&vim
469 set patchmode& backup& backupskip& writebackup&
489 " try to create a backup file in the directory
868 set backup writebackup& backupcopy&
876 set backupcopy& backupskip& backupext& backup&
889 " Test for trying to save a backup file when the backup file is a symbolic
897 set backup backupcopy=yes backupext=.bak
[all …]
/vim-8.2.3635/src/
H A Dbufwrite.c1411 wp = backup + STRLEN(backup) - 1 in buf_write()
1414 wp = backup; in buf_write()
1429 if (backup != NULL) in buf_write()
1446 VIM_CLEAR(backup); in buf_write()
1562 if (backup == NULL) in buf_write()
1566 backup = NULL; in buf_write()
1576 if (backup != NULL) in buf_write()
1583 p = backup + STRLEN(backup) - 1 - STRLEN(backup_ext); in buf_write()
1585 p = backup; in buf_write()
2312 if (backup != NULL) in buf_write()
[all …]
/vim-8.2.3635/runtime/doc/
H A Dversion4.txt13 'backup' option default changed |backup-changed|
14 Extension for backup file changed |backup-extension|
31 'backup' option default changed *backup-changed*
34 The default value for 'backup' used to be on. This resulted in a backup file
37 Now the default for 'backup' is off. As soon as the writing of the file has
38 successfully finished, the backup file is deleted. If you want to keep the
39 backup file, set 'backup' on in your vimrc. The reason for this change is
40 that many people complained that leaving a backup file behind is not
41 Vi-compatible. |'backup'|
44 Extension for backup file changed *backup-extension*
[all …]
H A Dusr_07.txt269 Usually Vim does not produce a backup file. If you want to have one, all you
272 :set backup
274 The name of the backup file is the original file with a ~ added to the end.
275 If your file is named data.txt, for example, the backup file name is
277 If you do not like the fact that the backup files end with ~, you can
284 backup file is written. The default, to write the backup in the same
288 When the 'backup' option isn't set but the 'writebackup' is, Vim will
289 still create a backup file. However, it is deleted as soon as writing
299 make any changes. But the backup file will be overwritten each time you write
302 specifies the extension used for the first backup of a changed file. Usually
[all …]
H A Dediting.txt981 the 'backup' option is off, the backup file is deleted. When the 'patchmode'
982 option is on the backup file may be renamed.
984 *backup-table*
985 'backup' 'writebackup' action ~
986 off off no backup made
988 on off delete old backup, backup current file
989 on on delete old backup, backup current file
992 written, no backup file is made. The values of 'backup' and 'writebackup' are
995 When the 'backup' option is on, an old backup file (with the same name as the
996 new backup file) will be deleted. If 'backup' is not set, but 'writebackup'
[all …]
H A Dos_win32.txt220 A. On Unix, Vim is prepared for links (symbolic or hard). A backup copy of
227 making a backup file, by ":set nobackup nowritebackup" |'writebackup'|
231 A. When writing a file Vim renames the original file, this is a backup (in
236 copy of the file for the backup, and overwrite the original file. The
H A Dusr_12.txt144 backup.o ~
159 backup.o ~
170 continues. After sorting, this is wrong! The "backup.o" line that was at
H A Dhowto.txt15 |07.4| keep a backup of my file when writing over it
H A Doptions.txt973 *'backup'* *'bk'* *'nobackup'* *'nobk'*
974 'backup' 'bk' boolean (default off)
978 backup file, but you do want a backup while the file is being
982 |backup-table| for more explanations.
1092 See also 'backup' and 'writebackup' options.
1094 :set backupdir=./.backup,~/.backup,.,/tmp
1813 'backup' + off no backup file
1814 'backupcopy' & Unix: "yes" backup file is a copy
1815 else: "auto" copy or rename backup file
9159 Make a backup before overwriting a file. The backup is removed after
[all …]
/vim-8.2.3635/runtime/
H A Dvimrc_example.vim23 set nobackup " do not keep a backup file, use versions instead
25 set backup " keep a backup file (restore to previous version)
H A Devim.vim32 set nobackup " do not keep a backup file, use versions instead
34 set backup " keep a backup file
H A Doptwin.vim1046 call <SID>AddOption("writebackup", gettext("write a backup file before overwriting a file"))
1048 call <SID>AddOption("backup", gettext("keep a backup after overwriting a file"))
1050 call <SID>AddOption("backupskip", gettext("patterns that specify for which files a backup is not ma…
1052 call <SID>AddOption("backupcopy", gettext("whether to make the backup as a copy or rename the exist…
1055 call <SID>AddOption("backupdir", gettext("list of directories to put backup files in"))
1057 call <SID>AddOption("backupext", gettext("file name extension for the backup file"))
/vim-8.2.3635/runtime/syntax/
H A Darch.vim25 syn keyword archKeyword contained exclude junk backup precious unrecognized
28 syn keyword archTMethod contained source precious backup junk unrecognized
H A Dupstreamlog.vim26 syn match upstreamlog_Profile /Migrate disk backup from profile \zs\S\{1,8}\ze/
28 syn match upstreamlog_Profile /Vault \(disk\|tape\) backup to vault \d\{1,4} from profile \zs\S\{1,…
H A Dusserverlog.vim26 syn match usserverlog_Profile /Migrate disk backup from profile \zs\S\{1,8}\ze/
31 syn match usserverlog_Profile /Vault \(disk\|tape\) backup to vault \d\{1,4} from profile \zs\S\{1,…
H A Dora.vim311 syn match oraModifier "backup corruption"
312 syn match oraModifier "backup datafile"
313 syn match oraModifier "backup piece "
314 syn match oraModifier "backup redo log"
315 syn match oraModifier "backup set"
H A Dlilo.vim34 syn keyword liloOption backup bitmap boot disktab force-backup keytable map message nextgroup=liloE…
H A Dpsf.vim87 " force vim to backup at least 100 lines before the top visible line
H A Dlftp.vim136 \ eta-p[eriod] eta-t[erse] mak[e-backup]
H A Dnanorc.vim33 syn keyword nanorcBoolOption contained autoindent backup const cut
H A Dps1.vim65 syn match ps1Cmdlet /\v(backup|checkpoint|compare|compress|convert|convertfrom|convertto|dismount|e…
/vim-8.2.3635/src/po/
H A Den_GB.po213 msgid "E506: Can't write to backup file (add ! to override)"
214 msgstr "E506: Cannot write to backup file (add ! to override)"
217 msgid "E508: Can't read file for backup (add ! to override)"
218 msgstr "E508: Cannot read file for backup (add ! to override)"
221 msgid "E510: Can't make backup file (add ! to override)"
222 msgstr "E510: Cannot make backup file (add ! to override)"
255 msgid "E207: Can't delete backup file"
256 msgstr "E207: Cannot delete backup file"
H A Dlv.po67 msgid "E506: Can't write to backup file (add ! to override)"
70 msgid "E508: Can't read file for backup (add ! to override)"
73 msgid "E510: Can't make backup file (add ! to override)"
91 msgid "E207: Can't delete backup file"
/vim-8.2.3635/
H A D.travis.yml137 # BSD sed needs backup extension specified.

1234