config: change key binding for toggle-url-visible to Control+t

The default key binding for toggle-url-visible was, before this,
‘t’.

This leads to a collision with the default value of ‘label-letters’,
which includes ‘t’.
This commit is contained in:
Daniel Eklöf 2021-10-17 16:31:17 +02:00
parent d4b365b55c
commit 3bb953d698
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
4 changed files with 8 additions and 3 deletions

View file

@ -49,6 +49,8 @@
`double-width` to `wcswidth`.
* INSTALL.md: `--override tweak.grapheme-shaping=no` added to PGO
command line.
* url-mode: default key binding for `toggle-url-visible` changed from
`t` to `Control+t`.
### Deprecated

View file

@ -2830,7 +2830,7 @@ add_default_url_bindings(struct config *conf)
{BIND_ACTION_URL_CANCEL, m_ctrl, XKB_KEY_g},
{BIND_ACTION_URL_CANCEL, m_ctrl, XKB_KEY_d},
{BIND_ACTION_URL_CANCEL, m_none, XKB_KEY_Escape},
{BIND_ACTION_URL_TOGGLE_URL_ON_JUMP_LABEL, m_none, XKB_KEY_t},
{BIND_ACTION_URL_TOGGLE_URL_ON_JUMP_LABEL, m_ctrl, XKB_KEY_t},
};
conf->bindings.url.count = ALEN(bindings);

View file

@ -773,6 +773,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_.
@ -789,7 +792,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: _t_.
Default: _Control+t_.
# SECTION: mouse-bindings

View file

@ -150,7 +150,7 @@
[url-bindings]
# cancel=Control+g Control+c Control+d Escape
# toggle-url-visible=t
# toggle-url-visible=Control+t
[mouse-bindings]
# primary-paste=BTN_MIDDLE