Search notes:

Vim events

Vim has a few events. They can be hooked to execute commands. This feature accordingly is called autocommands.
Each event is assigned a number in the auto_event enum (defined in vim.h).
Each event is also assigned one or more event names. For example, the event with the number EVENT_BUFADD has two names: BufAdd and BufCreate.

CursorHold

After waiting for a character for updatetime, a K_CURSORHOLD key is put into the inputbuffer which eventually results innv_cursorhold() (in normal.c) being called.

SessionLoadPost

When a session is loaded.

VimLeave

VimLeave

See also

The option eventignore can be set to a list of events for which no autocmds should be triggered.
:autocmd

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1758201475, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/vim/events/index(60): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78