diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2016-04-17 20:34:49 -0400 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2016-04-17 20:34:49 -0400 |
commit | ca280c28b464239de85152a2d1230bfc678f7358 (patch) | |
tree | dc93fc38d9d9dbaf61733997c1783ada1ae88804 /runtime/doc/autocmd.txt | |
parent | 007d573147bb9086c63e779b1db3938690037db8 (diff) | |
parent | 896f548eeebff4e581f4fbd51013e4e61d78ad51 (diff) | |
download | rneovim-ca280c28b464239de85152a2d1230bfc678f7358.tar.gz rneovim-ca280c28b464239de85152a2d1230bfc678f7358.tar.bz2 rneovim-ca280c28b464239de85152a2d1230bfc678f7358.zip |
Merge pull request #4594 from dbarnett/vim-88774f
vim-patch:88774f
Diffstat (limited to 'runtime/doc/autocmd.txt')
-rw-r--r-- | runtime/doc/autocmd.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/doc/autocmd.txt b/runtime/doc/autocmd.txt index 7dfc1d5d2f..5cf8103a74 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 Aug 05 +*autocmd.txt* For Vim version 7.4. Last change: 2015 Aug 18 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 BufNewFile * CursorHold <buffer=abuf> echo 'hold' + :au BufNewFile * au 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: > |