commit 30f213d86bb491fd269414ef540689096d1023cc
parent 2cd91e4d11d678d093015ef357de0cf298db4535
Author: Luxferre <lux@ferre>
Date: Tue, 30 Jan 2024 20:04:51 +0200
Made keybindings ed-specific
Diffstat:
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/.inputrc b/.inputrc
@@ -2,12 +2,10 @@ set editing-mode emacs
set enable-meta-key on
set input-meta on
set output-meta on
-set convert-meta on
set enable-keypad on
set bell-style none
set show-all-if-ambiguous on
set completion-ignore-case on
-set bind-tty-special-chars off
# Home, Insert, Del, End, PgUp, PgDn
@@ -40,6 +38,10 @@ set bind-tty-special-chars off
# exit insert mode with Alt+Space
# save with Ctrl+W
+$if ed
+set bind-tty-special-chars off
+set convert-meta on
Meta-SPC: "\n.\n"
Control-w: "\n.\nw\n"
+$endif