commit dad3bb1b95fa4a73194d0558ff487c8ddae9aad7
parent ed05b306e67b1cde133706efdd23281c51b40dc5
Author: Luxferre <lux@ferre>
Date: Thu, 1 Feb 2024 15:44:05 +0200
Riced tab behaviour in ed
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/.inputrc b/.inputrc
@@ -36,12 +36,15 @@ set completion-ignore-case on
# Combos for ricing ed to the moon and back
# exit insert mode with Alt+Space
-# save with Ctrl+W
+# exit insert mode and save with Ctrl+W
+# Tab inserts 2 spaces, Shift+Tab inserts tabulation
$if ed
set bind-tty-special-chars off
set convert-meta on
Meta-SPC: "\n.\n"
Control-w: "\n.\nw\n"
+"\e[Z": "\C-v\t"
+TAB: " "
$endif