From d63bc1a88026b5481fec9559681cdf8244a9f905 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Sat, 6 Feb 2021 11:18:35 +0100 Subject: readme: add ctrl+shift+u, with description, to the list of default key bindings --- README.md | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index e55d3e82..07d82b1e 100644 --- a/README.md +++ b/README.md @@ -154,6 +154,10 @@ These are the default shortcuts. See `man foot.ini` and the example sequence](https://codeberg.org/dnkl/foot/wiki#user-content-how-to-configure-my-shell-to-emit-the-osc-7-escape-sequence), the new terminal will start in the current working directory. +ctrl+shift+u +: Enter URL mode, where all currently visible URLs are tagged with a + jump label with a key sequence that will open the URL. + #### Scrollback search -- cgit v1.3 From 69847a19d61812c5132331c4c5a5b4da68f339d9 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Sat, 6 Feb 2021 11:20:42 +0100 Subject: readme: add URL mode to the feature list --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 07d82b1e..12622c90 100644 --- a/README.md +++ b/README.md @@ -43,12 +43,13 @@ The fast, lightweight and minimalistic Wayland terminal emulator. * Lightweight, in dependencies, on-disk and in-memory * Wayland native * DE agnostic +* Server/daemon mode * User configurable font fallback * On-the-fly font resize * On-the-fly DPI font size adjustment * Scrollback search +* Keyboard driven URL detection * Color emoji support -* Server/daemon mode * IME (via `text-input-v3`) * Multi-seat * [Synchronized Updates](https://gitlab.freedesktop.org/terminal-wg/specifications/-/merge_requests/2) support -- cgit v1.3 From 4b67394a5f84c1c8b0bdd803079f11a03981c693 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Sun, 7 Feb 2021 11:38:52 +0100 Subject: readme: document the new URL mode --- README.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 12622c90..428d4958 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,7 @@ The fast, lightweight and minimalistic Wayland terminal emulator. 1. [Scrollback search](#scrollback-search) 1. [Mouse](#mouse) 1. [Server (daemon) mode](#server-daemon-mode) +1. [URLs](#urls) 1. [Alt/meta](#alt-meta) 1. [Backspace](#backspace) 1. [Keypad](#keypad) @@ -252,6 +253,32 @@ desktop), and then run `footclient` instead of `foot` whenever you want to launch a new terminal. +## 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 the +`foot.ini` man page. + +`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 By default, foot prefixes _Meta characters_ with ESC. This corresponds -- cgit v1.3