comparison runtime/doc/autocmd.txt @ 7013:349e6c01f35d

Update runtime files.
author Bram Moolenaar <bram@vim.org>
date Tue, 11 Aug 2015 20:34:49 +0200
parents b2673982c625
children eff26a8620ce
comparison
equal deleted inserted replaced
7012:0175e7cfea2e 7013:349e6c01f35d
1 *autocmd.txt* For Vim version 7.4. Last change: 2015 Jul 20 1 *autocmd.txt* For Vim version 7.4. Last change: 2015 Aug 05
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
1070 |<abuf>| 1070 |<abuf>|
1071 1071
1072 Examples: > 1072 Examples: >
1073 :au CursorHold <buffer> echo 'hold' 1073 :au CursorHold <buffer> echo 'hold'
1074 :au CursorHold <buffer=33> echo 'hold' 1074 :au CursorHold <buffer=33> echo 'hold'
1075 :au CursorHold <buffer=abuf> echo 'hold' 1075 :au BufNewFile * CursorHold <buffer=abuf> echo 'hold'
1076 1076
1077 All the commands for autocommands also work with buffer-local autocommands, 1077 All the commands for autocommands also work with buffer-local autocommands,
1078 simply use the special string instead of the pattern. Examples: > 1078 simply use the special string instead of the pattern. Examples: >
1079 :au! * <buffer> " remove buffer-local autocommands for 1079 :au! * <buffer> " remove buffer-local autocommands for
1080 " current buffer 1080 " current buffer