config: add url.protocols

This makes the protocols recognized by auto-detected URLs
configurable.

Closes #531
This commit is contained in:
Daniel Eklöf 2021-05-20 17:58:06 +02:00
parent 0f483d65ce
commit 53516aceec
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
6 changed files with 85 additions and 19 deletions

View file

@ -323,6 +323,13 @@ in this order:
String of characters to use when generating key sequences for URL
jump labels. Default: _sadfjklewcmpgh_.
*protocols*
List of protocols (schemes) that should be recognized in URL
mode. Note that only auto-detected URLs are affected by this
option. OSC-8 URLs are always enabled, regardless of
protocol. Default: _http https ftp ftps file gemini gopher_.
# SECTION: cursor
This section controls the cursor style and color. Note that