summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorKonstantin Stepanov <me@kstep.me>2014-10-17 09:41:56 +0300
committerKonstantin Stepanov <me@kstep.me>2014-10-17 09:42:14 +0300
commit6c7fe21b2c8598a85b62eac393e4caccb0c638be (patch)
tree16f89b229f23b1b6c9fdd68ab5aec7ca25f2aeb7 /doc
parent6e36ea5ac97665b30b76e9f8065c2a4c468910d6 (diff)
note about group usage in :autocmd! (see #115)
Diffstat (limited to 'doc')
-rw-r--r--doc/vimb.113
1 files changed, 8 insertions, 5 deletions
diff --git a/doc/vimb.1 b/doc/vimb.1
index 4385e17..29e7d21 100644
--- a/doc/vimb.1
+++ b/doc/vimb.1
@@ -697,20 +697,23 @@ executed in the order in which they were given.
Remove all autocommands associated with \fIevent\fP and which pattern match
\fIpat\fP, and add the command \fIcmd\fP. Note that the pattern is not matches
literally to find autocommands to remove, like vim does. Vimb matches the
-autocommand pattern with \fIpat\fP.
+autocommand pattern with \fIpat\fP. If [\fIgroup\fP] is not given, deletes
+autocommands in current group, as noted above.
.TP
.BI ":au[tocmd]! [" group "] {" event "} {" pat "}"
Remove all autocommands associated with \fIevent\fP and which pattern matches
-\fIpat\fP.
+\fIpat\fP in given group (current group by default).
.TP
.BI ":au[tocmd]! [" group "] * {" pat "}"
-Remove all autocommands with patterns matching \fIpat\fP for all events.
+Remove all autocommands with patterns matching \fIpat\fP for all events
+in given group (current group by default).
.TP
.BI ":au[tocmd]! [" group "] {" event "}"
-Remove all autocommands for \fIevent\fP.
+Remove all autocommands for \fIevent\fP in given group (current group
+by default).
.TP
.BI ":au[tocmd]! [" group "]"
-Remove all autocommands.
+Remove all autocommands in given group (current group by default).
.TP
.BI ":aug[roup] {" name "}"
Define the autocmd group \fIname\fP for the following ":autocmd" commands. The name