summaryrefslogtreecommitdiff
path: root/runtime/doc/autocmd.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-02-09 23:53:20 +0000
committerBram Moolenaar <Bram@vim.org>2006-02-09 23:53:20 +0000
commit754b56089f334509ee23f70fe9d046120e91f0e6 (patch)
treea22dc3faed963271a15be3dff335fc4de2f37200 /runtime/doc/autocmd.txt
parentcf0c554e3f841eefd3208aee3f6359da3e6395f4 (diff)
downloadvim-git-754b56089f334509ee23f70fe9d046120e91f0e6.tar.gz
updated for version 7.0195
Diffstat (limited to 'runtime/doc/autocmd.txt')
-rw-r--r--runtime/doc/autocmd.txt18
1 files changed, 17 insertions, 1 deletions
diff --git a/runtime/doc/autocmd.txt b/runtime/doc/autocmd.txt
index bc55a61a1..f545fafdc 100644
--- a/runtime/doc/autocmd.txt
+++ b/runtime/doc/autocmd.txt
@@ -1,4 +1,4 @@
-*autocmd.txt* For Vim version 7.0aa. Last change: 2006 Feb 01
+*autocmd.txt* For Vim version 7.0aa. Last change: 2006 Feb 09
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -278,6 +278,9 @@ Name triggered by ~
|FocusGained| Vim got input focus
|FocusLost| Vim lost input focus
|CursorHold| the user doesn't press a key for a while
+|CursorHoldI| the user doesn't press a key for a while in Insert mode
+|CursorMoved| the cursor was moved in Normal mode
+|CursorMovedI| the cursor was moved in Insert mode
|WinEnter| after entering another window
|WinLeave| before leaving a window
@@ -440,6 +443,7 @@ CmdwinLeave Before leaving the command-line window.
|cmdwin-char|
*ColorScheme*
ColorScheme After loading a color scheme. |:colorscheme|
+
*CursorHold*
CursorHold When the user doesn't press a key for the time
specified with 'updatetime'. Not re-triggered
@@ -460,6 +464,18 @@ CursorHold When the user doesn't press a key for the time
:let &ro = &ro
< {only on Amiga, Unix, Win32, MSDOS and all GUI
versions}
+ *CursorHoldI*
+CursorHoldI Just like CursorHold, but in Insert mode.
+
+ *CursorMoved*
+CursorMoved After the cursor was moved in Normal mode.
+ Not triggered when there is typeahead or when
+ an operator is pending.
+ Careful: Don't do anything that the user does
+ not expect or that is slow.
+ *CursorMovedI*
+CursorMovedI After the cursor was moved in Insert mode.
+ Otherwise the same as CursorMoved.
*EncodingChanged*
EncodingChanged Fires off after the 'encoding' option has been
changed. Useful to set up fonts, for example.