mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-04 04:06:06 -05:00
config: add search-bindings.delete-to-{start,end} key bindings
Defaults to ctrl+u and ctrl+k respectively. Closes #1972
This commit is contained in:
parent
9e6d334bd8
commit
6d39f66eb7
7 changed files with 47 additions and 0 deletions
|
|
@ -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*
|
||||
|
|
|
|||
|
|
@ -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_.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue