nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit c33f0b7d8d990b2cd46bc592188ef69b89b0e3b4
parent fd51fee4245c9e6272bc322a39d4ea7b87f95aea
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Thu, 12 Jan 2023 15:53:23 +0100

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.

Diffstat:
Mdoc/sample.nanorc.in | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

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