From ee39966dedf9e8fbee5528c324c807b92b9a6c23 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Sat, 30 Jan 2021 12:43:59 +0100 Subject: config: add infrastructure to handle URL mode specific key bindings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Add “show-urls” action to regular key bindings * Add url-bindings section to foot.ini * Add “cancel” action to URL mode key bindings --- doc/foot.ini.5.scd | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'doc') diff --git a/doc/foot.ini.5.scd b/doc/foot.ini.5.scd index 8684850b..9982acb8 100644 --- a/doc/foot.ini.5.scd +++ b/doc/foot.ini.5.scd @@ -491,6 +491,11 @@ e.g. *search-start=none*. Default: _not bound_ +*show-urls* + Enters URL mode, where all currently visible URLs are tagged with + a jump label with a key sequence that will open the URL. Default: + _Control+Shift+F_. + # SECTION: search-bindings @@ -569,6 +574,17 @@ scrollback search mode. The syntax is exactly the same as the regular Paste from the _primary selection_ into the search buffer. Default: _Shift+Insert_. + +# SECTION: url-bindings + +This section lets you override the default key bindings used in URL +mode. The syntax is exactly the same as the regular **key-bindings**. + +*cancel* + Exits URL mode without opening an URL. Default: _Control+g + Escape_. + + # SECTION: mouse-bindings This section lets you override the default mouse bindings. -- cgit v1.3