From e386c49868f0b38ffbd65e5f75fa79a826ad03b2 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Wed, 25 Jan 2012 21:26:41 +0000 Subject: [PATCH] README: update --- README.asciidoc | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/README.asciidoc b/README.asciidoc index 925776ce..65a4068c 100644 --- a/README.asciidoc +++ b/README.asciidoc @@ -101,6 +101,8 @@ A multiselection can also be obtained with _Alt-s_, which splits the current selection according to the regex entered. To split a comma separated list, use _alt-s_ then ', *' +To clear multiple selections, use _space_. + Captures -------- @@ -145,9 +147,13 @@ Hooks commands can be registred to be executed when certain events arise. to register a hook, use the hook command. -:hook ... +:hook ... -for example, to automatically use cplusplus highlighting with .cc files, + can be either global or window, as hooks can be registered per +window. + +for example, to automatically use line numbering with .cc files, use the following command: -:hook WinCreate .*\.cc addfilter hlcpp +:hook global WinCreate .*\.cc addhl number_lines +