From 60edefc3110cf0edf618b15ce6155a9fffe749c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Wed, 20 Oct 2021 19:01:03 +0200 Subject: [PATCH] doc: foot.5: warn user to be careful with single letter key bindings in url mode --- doc/foot.ini.5.scd | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/doc/foot.ini.5.scd b/doc/foot.ini.5.scd index e105be62..7fc73123 100644 --- a/doc/foot.ini.5.scd +++ b/doc/foot.ini.5.scd @@ -383,7 +383,13 @@ in this order: *label-letters* String of characters to use when generating key sequences for URL - jump labels. Default: _sadfjklewcmpgh_. + jump labels. + + If you change this option to include the letter *t*, you should + also change the default *[url-bindings].toggle-url-visible* key + binding to avoid a clash. + + Default: _sadfjklewcmpgh_. *protocols* Comma separated list of protocols (schemes) that should be @@ -773,6 +779,9 @@ scrollback search mode. The syntax is exactly the same as the regular This section lets you override the default key bindings used in URL mode. The syntax is exactly the same as the regular **key-bindings**. +Be careful; do not use single-letter keys that are also used in +*[url].label-letters*, as doing so will make some URLs inaccessible. + *cancel* Exits URL mode without opening an URL. Default: _Control+g Control+c Control+d Escape_.