anchor.diff:  *RawKey* `key`::
       Triggered whenever a key is pressed by the user
   
  -When not specified, the filtering text is an empty string. Note that
  -some hooks will not consider underlying scopes depending on what context
  -they are bound to be run into, e.g. the `BufWritePost` hook is a buffer
  +Note that some hooks will not consider underlying scopes depending on what
  +context they are bound to be run into, e.g. the `BufWritePost` hook is a buffer
   hook, and will not consider the `window` scope.
   
   While defining hook commands with a `%sh{}` block, some additional env
  
positive.code: hook global WinCreate .*\.cc %{ add-highlighter number-lines }
  --------------------------------------------------------------
  
  If *group* is given, make this hook part of the named group. Groups are used
  for removing hooks with the following command:
  
  ----------------------------
  remove-hooks <scope> <group>
  ----------------------------
  
  A call to the command above will remove every hooks in *scope* that are part
  of whose group match the given *group* regex.
  
  Hooks declared with the `-once` switch are automatically removed after running.
  
  == Default hooks
  
  *NormalIdle*::
      a certain duration has passed since last key was pressed in normal mode
  
negative.code: Commands can be registered to be executed when certain events arise. To
  register a hook use the following command:
  
  ------------------------------------------------------------------------------
  hook [-group <group> | -once] <scope> <hook_name> <filtering_regex> <commands>
  ------------------------------------------------------------------------------
  
  *scope* can be one of *global*, *buffer* or *window* (See
  <<scopes#,`:doc scopes`>>).
  
  *hook_name* must be one of the hook names in the list below, like `InsertKey`
  or `BufSetOption`.
  
  *filtering_regex* must match the entire parameter string in order for the
  commands to be executed.
  
  *command* is a string containing the commands to execute when the hook
  is called.
  
  If *group* is given, make this hook part of the named group. Groups are used
  for removing hooks with the following command:
  
  ----------------------------
  remove-hooks <scope> <group>
  ----------------------------
  
  A call to the command above will remove every hook in *scope* whose group
  matches the given *group* regex.
  
  If `-once` is given, the hook is automatically removed after running.
  
  For example to automatically use line numbering with .cc files, use the
  following command:
  