aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/autocmd.txt
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2016-04-17 18:44:25 -0400
committerJustin M. Keyes <justinkz@gmail.com>2016-04-17 18:44:25 -0400
commitaae7e8b7dd0123a75076fa1a2dc4fc9e2635738e (patch)
tree4d26bbdf87bd9b3fc56990a1aac4f9b537052450 /runtime/doc/autocmd.txt
parentcc1beecf8149c2eed6e01b415817038609ead123 (diff)
parent2895883154f4bbf9394e89acb3a86ee75255231b (diff)
downloadrneovim-aae7e8b7dd0123a75076fa1a2dc4fc9e2635738e.tar.gz
rneovim-aae7e8b7dd0123a75076fa1a2dc4fc9e2635738e.tar.bz2
rneovim-aae7e8b7dd0123a75076fa1a2dc4fc9e2635738e.zip
Merge pull request #4585 from dbarnett/vim-fc39ec
vim-patch:fc39ec
Diffstat (limited to 'runtime/doc/autocmd.txt')
-rw-r--r--runtime/doc/autocmd.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/doc/autocmd.txt b/runtime/doc/autocmd.txt
index 9f1b7702ed..7dfc1d5d2f 100644
--- a/runtime/doc/autocmd.txt
+++ b/runtime/doc/autocmd.txt
@@ -1,4 +1,4 @@
-*autocmd.txt* For Vim version 7.4. Last change: 2015 Jul 20
+*autocmd.txt* For Vim version 7.4. Last change: 2015 Aug 05
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1100,7 +1100,7 @@ Instead of a pattern buffer-local autocommands use one of these forms:
Examples: >
:au CursorHold <buffer> echo 'hold'
:au CursorHold <buffer=33> echo 'hold'
- :au CursorHold <buffer=abuf> echo 'hold'
+ :au BufNewFile * CursorHold <buffer=abuf> echo 'hold'
All the commands for autocommands also work with buffer-local autocommands,
simply use the special string instead of the pattern. Examples: >