aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAdrian fxj9a <af24@tuta.io>2025-03-03 13:27:30 +0000
committerDaniel Eklöf <daniel@ekloef.se>2025-03-05 07:48:23 +0000
commit6d39f66eb7c0cafb9e12be7da6831598c6dd4afb (patch)
tree3ca3de19f31f8c2c205216ab2e275c41f2d2aff2 /doc
parentterm: reset the grapheme clustering state on cursor movements (diff)
config: add search-bindings.delete-to-{start,end} key bindings
Defaults to ctrl+u and ctrl+k respectively. Closes #1972
Diffstat (limited to 'doc')
-rw-r--r--doc/foot.1.scd6
-rw-r--r--doc/foot.ini.5.scd6
2 files changed, 12 insertions, 0 deletions
diff --git a/doc/foot.1.scd b/doc/foot.1.scd
index fad44f19..f868c12c 100644
--- a/doc/foot.1.scd
+++ b/doc/foot.1.scd
@@ -301,6 +301,12 @@ These shortcuts affect the search box in scrollback-search mode:
*alt*+*delete*, *ctrl*+*delete*
Deletes the **word after** the cursor.
+*ctrl*+*u*
+ Deletes from the cursor to the start of the input
+
+*ctrl*+*k*
+ Deletes from the cursor to the end of the input
+
These shortcuts affect scrolling in scrollback-search mode:
*shift*+*page-up*
diff --git a/doc/foot.ini.5.scd b/doc/foot.ini.5.scd
index 56004654..c55419d1 100644
--- a/doc/foot.ini.5.scd
+++ b/doc/foot.ini.5.scd
@@ -1401,6 +1401,12 @@ scrollback search mode. The syntax is exactly the same as the regular
Deletes the **word after** the cursor. Default: _Mod1+d
Control+Delete_.
+*delete-to-start*
+ Deletes search input before the cursor. Default: _Ctrl+u_.
+
+*delete-to-end*
+ Deletes search input after the cursor. Default: _Ctrl+k_.
+
*extend-char*
Extend current selection to the right, by one character. Default:
_Shift+Right_.