From 49f4b3da64d45cee04295ce005ff0399fcfeebe2 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Fri, 9 Oct 2020 19:44:23 +0200 Subject: config: add ‘[default].word-delimiters’ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This option lets the user configure which characters act as word delimiters when selecting text. This affects both “double clicking”, and ‘ctrl-w’ in scrollback search mode. Closes #156 --- doc/foot.ini.5.scd | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc') diff --git a/doc/foot.ini.5.scd b/doc/foot.ini.5.scd index 496162e8..4b10d6d2 100644 --- a/doc/foot.ini.5.scd +++ b/doc/foot.ini.5.scd @@ -110,6 +110,10 @@ in this order: Default: _none_. +*word-delimiters* + String of characters that act as word delimiters when selecting + text. Default: _,│`|:"'()[]{}<>_ + # SECTION: scrollback -- cgit v1.3 From 994262f7d461a20b0f29330824f5adfa83824da9 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Fri, 9 Oct 2020 19:50:56 +0200 Subject: doc: foot.ini: word-delimiters: whitespace chars are always delimiters --- doc/foot.ini.5.scd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/foot.ini.5.scd b/doc/foot.ini.5.scd index 4b10d6d2..6da1c26c 100644 --- a/doc/foot.ini.5.scd +++ b/doc/foot.ini.5.scd @@ -112,7 +112,8 @@ in this order: *word-delimiters* String of characters that act as word delimiters when selecting - text. Default: _,│`|:"'()[]{}<>_ + text. Note that whitespace characters are _always_ word + delimiters, regardless of this setting. Default: _,│`|:"'()[]{}<>_ # SECTION: scrollback -- cgit v1.3