comparison runtime/doc/usr_40.txt @ 29274:d314efe6447a

Update runtime files Commit: https://github.com/vim/vim/commit/a57b553b432855667c9f26edfad95ccfdd24a6b7 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Jun 24 11:48:03 2022 +0100 Update runtime files
author Bram Moolenaar <Bram@vim.org>
date Fri, 24 Jun 2022 13:00:09 +0200
parents 0fdf36de4018
children f8116058ca76
comparison
equal deleted inserted replaced
29273:e29819856cf4 29274:d314efe6447a
1 *usr_40.txt* For Vim version 8.2. Last change: 2022 Jun 20 1 *usr_40.txt* For Vim version 8.2. Last change: 2022 Jun 23
2 2
3 VIM USER MANUAL - by Bram Moolenaar 3 VIM USER MANUAL - by Bram Moolenaar
4 4
5 Make new commands 5 Make new commands
6 6
462 "*.txt" makes the autocommand be used for all files whose name end in ".txt". 462 "*.txt" makes the autocommand be used for all files whose name end in ".txt".
463 The optional [++nested] flag allows for nesting of autocommands (see below), 463 The optional [++nested] flag allows for nesting of autocommands (see below),
464 and finally, {command} is the command to be executed. 464 and finally, {command} is the command to be executed.
465 465
466 When adding an autocommand the already existing ones remain. To avoid adding 466 When adding an autocommand the already existing ones remain. To avoid adding
467 the autocommand several time you should use this form: > 467 the autocommand several times you should use this form: >
468 468
469 :augroup updateDate 469 :augroup updateDate
470 : autocmd! 470 : autocmd!
471 : autocmd BufWritePre * call DateInsert() 471 : autocmd BufWritePre * call DateInsert()
472 :augroup END 472 :augroup END