mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-23 05:33:57 -04:00
config: add infrastructure to handle URL mode specific key bindings
* Add “show-urls” action to regular key bindings * Add url-bindings section to foot.ini * Add “cancel” action to URL mode key bindings
This commit is contained in:
parent
8f4a8cd8ce
commit
ee39966ded
6 changed files with 190 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue