aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-02-14 15:58:34 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-02-21 19:15:31 +0000
commit4ff5154cb8ce932bdbdb21fc96eb4d49d1371bea (patch)
treeb99455152986d55eb0bdccc0243f6794bf5bb644
parenturls: add key binding that toggles whether URLs are displayed on jump-label (diff)
config: change default key binding for toggle-url-visible to ‘t’
-rw-r--r--config.c2
-rw-r--r--doc/foot.ini.5.scd2
-rw-r--r--foot.ini2
3 files changed, 3 insertions, 3 deletions
diff --git a/config.c b/config.c
index 3b09b882..c2eaf382 100644
--- a/config.c
+++ b/config.c
@@ -2108,7 +2108,7 @@ add_default_url_bindings(struct config *conf)
add_binding(BIND_ACTION_URL_CANCEL, ctrl, XKB_KEY_g);
add_binding(BIND_ACTION_URL_CANCEL, ctrl, XKB_KEY_d);
add_binding(BIND_ACTION_URL_CANCEL, none, XKB_KEY_Escape);
- add_binding(BIND_ACTION_URL_TOGGLE_URL_ON_JUMP_LABEL, ctrl, XKB_KEY_t);
+ add_binding(BIND_ACTION_URL_TOGGLE_URL_ON_JUMP_LABEL, none, XKB_KEY_t);
#undef add_binding
}
diff --git a/doc/foot.ini.5.scd b/doc/foot.ini.5.scd
index 6c1938a2..cdcdcfaa 100644
--- a/doc/foot.ini.5.scd
+++ b/doc/foot.ini.5.scd
@@ -622,7 +622,7 @@ mode. The syntax is exactly the same as the regular **key-bindings**.
This action toggles between showing and hiding the URL on the jump
label.
- Default: _Control+t_
+ Default: _t_.
# SECTION: mouse-bindings
diff --git a/foot.ini b/foot.ini
index 216ef45d..1b309210 100644
--- a/foot.ini
+++ b/foot.ini
@@ -125,7 +125,7 @@
[url-bindings]
# cancel=Control+g Control+d Escape
-# toggle-url-visible=Control+t
+# toggle-url-visible=t
[mouse-bindings]
# primary-paste=BTN_MIDDLE