config: add url.uri-characters

This option specifies the characters allowed in the auto-detected
URLs.

Any character not in this set constitutes an URL delimiter, and will
never be included in auto-detected URLs.

This option does not affect OSC-8 URLs.

Closes #654
This commit is contained in:
Daniel Eklöf 2021-08-09 18:25:36 +02:00
parent f9ba2a8c5c
commit 0c03e9a766
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
5 changed files with 119 additions and 46 deletions

View file

@ -367,6 +367,13 @@ in this order:
of protocol. Default: _http, https, ftp, ftps, file, gemini,
gopher_.
*uri-characters*
Set of characters allowed in auto-detected URLs. Any character not
included in this set constitutes an URL delimiter.
Default:
_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-\_.,~:;/?#@!$&%\*+="'_.
# SECTION: cursor