config: add ctrl+d as (yet another) default binding url-bindings.cancel

This commit is contained in:
Daniel Eklöf 2021-02-04 19:40:24 +01:00
parent 65caa33084
commit 82e2541760
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
3 changed files with 3 additions and 2 deletions

View file

@ -2181,6 +2181,7 @@ add_default_url_bindings(struct config *conf)
const struct config_key_modifiers ctrl = {.ctrl = true};
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);
#undef add_binding

View file

@ -586,7 +586,7 @@ mode. The syntax is exactly the same as the regular **key-bindings**.
*cancel*
Exits URL mode without opening an URL. Default: _Control+g
Escape_.
Control+d Escape_.
# SECTION: mouse-bindings

View file

@ -119,7 +119,7 @@
# primary-paste=Shift+Insert
[url-bindings]
# cancel=Control+g Escape
# cancel=Control+g Control+d Escape
[mouse-bindings]
# primary-paste=BTN_MIDDLE