From 2b960bbf2429aad2323c90d9f80e1a8bd0e15343 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Sun, 8 Oct 2023 10:16:48 +0200 Subject: [PATCH] foot.ini: document all the new search.extend* bindings --- doc/foot.ini.5.scd | 30 ++++++++++++++++++++++++++---- foot.ini | 8 +++++++- 2 files changed, 33 insertions(+), 5 deletions(-) diff --git a/doc/foot.ini.5.scd b/doc/foot.ini.5.scd index bab71996..67e5d5f4 100644 --- a/doc/foot.ini.5.scd +++ b/doc/foot.ini.5.scd @@ -961,13 +961,35 @@ scrollback search mode. The syntax is exactly the same as the regular Deletes the **word after** the cursor. Default: _Mod1+d Control+Delete_. +*extend-char* + Extend current selection to the right, by one character. Default: + _Shift+Right_. + *extend-to-word-boundary* - Extend current selection to the next word boundary. Default: - _Control+w_. + Extend current selection to the right, to the next word + boundary. Default: _Control+w Control+Shift+Right_. *extend-to-next-whitespace* - Extend the current selection to the next whitespace. Default: - _Control+Shift+w_. + Extend the current selection to the right, to the next + whitespace. Default: _Control+Shift+w_. + +*extend-line-down* + Extend current selection down one line. Default: _Shift+Down_. + +*extend-backward-char* + Extend current selection to the left, by one character. Default: + _Shift+Left_. + +*extend-backward-to-word-boundary* + Extend current selection to the left, to the next word + boundary. Default: _Control+Shift+Left_. + +*extend-backward-to-next-whitespace* + Extend the current selection to the left, to the next + whitespace. Default: _none_. + +*extend-line-up* + Extend current selection up one line. Default: _Shift+Up_. *clipboard-paste* Paste from the _clipboard_ into the search buffer. Default: diff --git a/foot.ini b/foot.ini index 97872061..eb9f430a 100644 --- a/foot.ini +++ b/foot.ini @@ -179,8 +179,14 @@ # delete-prev-word=Mod1+BackSpace Control+BackSpace # delete-next=Delete # delete-next-word=Mod1+d Control+Delete -# extend-to-word-boundary=Control+w +# extend-char=Shift+Right +# extend-to-word-boundary=Control+w Control+Shift+Right # extend-to-next-whitespace=Control+Shift+w +# extend-line-down=Shift+Down +# extend-backward-char=Shift+Left +# extend-backward-to-word-boundary=Control+Shift+Left +# extend-backward-to-next-whitespace=none +# extend-line-up=Shift+Up # clipboard-paste=Control+v Control+Shift+v Control+y XF86Paste # primary-paste=Shift+Insert # unicode-input=none