From 6eb6668c3ccb1f8a5921d938bd41722b11c82a7e Mon Sep 17 00:00:00 2001 From: Craig Barnes Date: Tue, 25 May 2021 16:51:07 +0100 Subject: config: bind ctrl+c to "cancel" in search/url mode by default Closes #544 --- doc/foot.1.scd | 2 +- doc/foot.ini.5.scd | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'doc') diff --git a/doc/foot.1.scd b/doc/foot.1.scd index 2ff4e45a..8537ee5f 100644 --- a/doc/foot.1.scd +++ b/doc/foot.1.scd @@ -204,7 +204,7 @@ Note that these are just the defaults; they can be changed in *shift*+*insert* Paste from primary selection into the search buffer. -*escape*, *ctrl*+*g* +*escape*, *ctrl*+*g*, *ctrl*+*c* Cancel the search *return* diff --git a/doc/foot.ini.5.scd b/doc/foot.ini.5.scd index 8ee3b581..a3d6111b 100644 --- a/doc/foot.ini.5.scd +++ b/doc/foot.ini.5.scd @@ -611,7 +611,8 @@ scrollback search mode. The syntax is exactly the same as the regular *cancel* Aborts the search. The viewport is restored and the _primary - selection_ is **not** updated. Default: _Control+g Escape_. + selection_ is **not** updated. Default: _Control+g Control+c + Escape_. *commit* Exit search mode and copy current selection into the _primary @@ -688,7 +689,7 @@ mode. The syntax is exactly the same as the regular **key-bindings**. *cancel* Exits URL mode without opening an URL. Default: _Control+g - Control+d Escape_. + Control+c Control+d Escape_. *toggle-url-visible* By default, the jump label only shows the key sequence required to -- cgit v1.3