From 8748bdbc1025575bb07aabe87e9c201c66c36c27 Mon Sep 17 00:00:00 2001 From: Delapouite Date: Wed, 6 May 2020 23:02:29 +0200 Subject: [PATCH] doc(keys): mention punctuation text-objects The fact that punctuation characters can act as surrounding delimiters is a useful behavior but not obvious. This "hidden" text-object feature deserves to be described explicitely. --- doc/pages/keys.asciidoc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/pages/keys.asciidoc b/doc/pages/keys.asciidoc index c1600a3e..51d1db55 100644 --- a/doc/pages/keys.asciidoc +++ b/doc/pages/keys.asciidoc @@ -697,6 +697,10 @@ in order to specify the wanted object: run a command with additional expansions describing the selection context (See <>) +If a punctuation character is entered, it will act as the delimiter. +For instance, if the cursor is on the `o` of `/home/bar`, typing +`/` will select `/home/`. + == Prompt commands When pressing `:` in normal mode, Kakoune will open a prompt to enter