aboutsummaryrefslogtreecommitdiff
path: root/doc/foot.1.scd
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-02-08 09:06:13 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-02-08 09:06:13 +0000
commit63a50afc8e7d2b315e896f4469112f4240a1592e (patch)
tree99429f79b9df9436dcb4454c7dbd05402e03e727 /doc/foot.1.scd
parentMerge branch 'xassert-performance-regression-2' (diff)
parenturl-mode: urls_render(): early exit when URL list is empty (diff)
Merge branch 'url-detection'
Diffstat (limited to 'doc/foot.1.scd')
-rw-r--r--doc/foot.1.scd25
1 files changed, 25 insertions, 0 deletions
diff --git a/doc/foot.1.scd b/doc/foot.1.scd
index 9099adc2..4965ca56 100644
--- a/doc/foot.1.scd
+++ b/doc/foot.1.scd
@@ -236,6 +236,31 @@ _Examples_:
- Dina:weight=bold:slant=italic
- Courier New:size=12
+# URLs
+
+Foot supports URL detection. But, unlike many other terminal
+emulators, where URLs are highlighted when they are hovered and opened
+by clicking on them, foot uses a keyboard driven approach.
+
+Pressing *ctrl*+*shift*+*u* enters _“URL mode”_, where all currently
+visible URLs are underlined, and is associated with a
+_“jump-label”_. The jump-label indicates the _key sequence_
+(e.g. *”AF”*) to use to activate the URL.
+
+The key binding can, of course, be customized, like all other key
+bindings in foot. See *show-urls-launch* and *show-urls-copy* in
+*foot.ini*(5).
+
+*show-urls-launch* by default opens the URL with *xdg-open*. This can
+be changed with the *url-launch* option.
+
+*show-urls-copy* is an alternative to *show-urls-launch*, that changes
+what activating an URL _does_; instead of opening it, it copies it to
+the clipboard. It is unbound by default.
+
+Both the jump label colors, and the URL underline color can be
+configured, independently.
+
# ALT/META CHARACTERS
By default, foot prefixes meta characters with *ESC*. This corresponds