aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorCraig Barnes <craigbarnes@protonmail.com>2021-05-25 15:51:07 +0000
committerCraig Barnes <craigbarnes@protonmail.com>2021-05-25 15:51:07 +0000
commit6eb6668c3ccb1f8a5921d938bd41722b11c82a7e (patch)
treee6e910b5e872b6d08b3dcd4b03a9263bc167169d /doc
parentreadme: add link to IRC logs (diff)
config: bind ctrl+c to "cancel" in search/url mode by default
Closes #544
Diffstat (limited to 'doc')
-rw-r--r--doc/foot.1.scd2
-rw-r--r--doc/foot.ini.5.scd5
2 files changed, 4 insertions, 3 deletions
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