From f950fe337684e916f1746b28bbd81ebd5c1e86f7 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Tue, 28 Nov 2017 19:40:07 +0800 Subject: [PATCH] hooks.asciidoc: Fix few rendering problems --- doc/pages/hooks.asciidoc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/pages/hooks.asciidoc b/doc/pages/hooks.asciidoc index 304bf5fa..a8a00601 100644 --- a/doc/pages/hooks.asciidoc +++ b/doc/pages/hooks.asciidoc @@ -169,11 +169,12 @@ While defining hook commands with a `%sh{}` block, some additional env vars are available: * `kak_hook_param`: filtering text passed to the currently executing hook + * `kak_hook_param_capture_N`: text captured by the hook filter regex capture N == Disabling Hooks -Any normal mode command can be prefixed with `\` which will disable hook +Any normal mode command can be prefixed with `\ ` which will disable hook execution for the duration for the command (including the duration of modes the command could move to, so `\i` will disable hooks for the whole insert session).