mirror of
https://github.com/zoriya/vim.git
synced 2026-06-09 22:50:45 +00:00
Update runtime files
This commit is contained in:
+12
-1
@@ -1,4 +1,4 @@
|
||||
*usr_40.txt* For Vim version 8.2. Last change: 2022 Jan 03
|
||||
*usr_40.txt* For Vim version 8.2. Last change: 2022 Jun 20
|
||||
|
||||
VIM USER MANUAL - by Bram Moolenaar
|
||||
|
||||
@@ -463,6 +463,17 @@ separated) that trigger the command.
|
||||
The optional [++nested] flag allows for nesting of autocommands (see below),
|
||||
and finally, {command} is the command to be executed.
|
||||
|
||||
When adding an autocommand the already existing ones remain. To avoid adding
|
||||
the autocommand several time you should use this form: >
|
||||
|
||||
:augroup updateDate
|
||||
: autocmd!
|
||||
: autocmd BufWritePre * call DateInsert()
|
||||
:augroup END
|
||||
|
||||
This will delete any previously defined autocommand with `:autocmd!` before
|
||||
defining the new one. Groups are explained later.
|
||||
|
||||
|
||||
EVENTS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user