docs: give ^K and ^U some useful function in the alternative bindings

Make them behave like in a shell: let ^K delete till end-of-line,
and let ^U delete to beginning-of-line.
This commit is contained in:
Benno Schulenberg 2023-01-12 15:53:23 +01:00
parent fd51fee424
commit c33f0b7d8d

View File

@ -313,7 +313,6 @@
#bind ^B wherewas all #bind ^B wherewas all
#bind ^D findprevious all #bind ^D findprevious all
#bind ^R replace main #bind ^R replace main
#unbind ^K main
#unbind ^U all #unbind ^U all
#unbind ^N main #unbind ^N main
#unbind ^Y all #unbind ^Y all
@ -326,5 +325,7 @@
#bind ^T cutrestoffile execute #bind ^T cutrestoffile execute
#bind ^L linter execute #bind ^L linter execute
#bind ^E execute main #bind ^E execute main
#bind ^K "{mark}{end}{zap}" main
#bind ^U "{mark}{home}{zap}" main
#bind ^Z undo main #bind ^Z undo main
#bind ^Y redo main #bind ^Y redo main