Following commands don't trigger autocommands
Example
Normal 0 / 4Command-line 1 / 4Normal 2 / 4Command-line 3 / 4Normal 4 / 4Following commands don't trigger autocommands.
Example autocommands
--- Autocommands ---
ExampleGroup User
ExampleEvent
let g:exampleCount += 1Example autocommand group
ExampleGroup exists
Example variables
- g:exampleCount
0
Command entered · ready to apply
Example autocommands
--- Autocommands ---
ExampleGroup User
ExampleEvent
let g:exampleCount += 1Example autocommand group
ExampleGroup exists
Example variables
- g:exampleCount
0
Key applied · continue with the next key
Example autocommands
--- Autocommands ---
ExampleGroup User
ExampleEvent
let g:exampleCount += 1Example autocommand group
ExampleGroup exists
Example variables
- g:exampleCount
0
Command entered · ready to apply
Example autocommands
--- Autocommands ---
ExampleGroup User
ExampleEvent
let g:exampleCount += 1Example autocommand group
ExampleGroup exists
Example variables
- g:exampleCount
0
Command applied
Example autocommands
--- Autocommands ---
ExampleGroup User
ExampleEvent
let g:exampleCount += 1Example autocommand group
ExampleGroup exists
Example variables
- g:exampleCount
1
Before & after
Before
Example autocommands
--- Autocommands ---
ExampleGroup User
ExampleEvent
let g:exampleCount += 1Example autocommand group
ExampleGroup exists
Example variables
- g:exampleCount
0
After
Example autocommands
--- Autocommands ---
ExampleGroup User
ExampleEvent
let g:exampleCount += 1Example autocommand group
ExampleGroup exists
Example variables
- g:exampleCount
1
Start in Normal mode. The ruler option is off (noruler), so the no-matching-autocommands message fits the command-line space in an 80-column terminal.
one two
three four
five six
keepCursor on line 1, column 1Details & Vim help
Example replayed in Vim
Following commands don't trigger autocommands. This Ex reference uses the full command name; the alphabetical index omits arguments. Supply the ranges, arguments, flags and prerequisite state documented in the linked help. Press Enter to submit a complete command. The index spelling :noa[utocmd] puts the optional abbreviation suffix in square brackets; those brackets are not typed. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative.