From d6166474db5f36f8c0acfb444f176d27ba7d2ef5 Mon Sep 17 00:00:00 2001 From: pvincent Date: Tue, 11 Aug 2026 19:01:09 +0400 Subject: [PATCH] better input.rc --- etc/inputrc | 2 ++ etc/vim/vimrc.rookie | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/etc/inputrc b/etc/inputrc index 91cb5f2..d8f239f 100644 --- a/etc/inputrc +++ b/etc/inputrc @@ -34,6 +34,8 @@ set convert-meta off # ALT + { backspace, delete } for suppressing until start/end (faster) "\e[3;3~": kill-line "\e\C-?": backward-kill-line +# ALT + backspace special ghostty +"\e[127;11u": backward-kill-line # SHIFT + { backspace, delete } for suppressing the whole line "\e[3;2~": kill-whole-line diff --git a/etc/vim/vimrc.rookie b/etc/vim/vimrc.rookie index 2ca13d4..eac062e 100644 --- a/etc/vim/vimrc.rookie +++ b/etc/vim/vimrc.rookie @@ -81,4 +81,8 @@ inoremap g+a nnoremap g+ nnoremap :earlier 1f +" True Ctrl+Backspace in terminal +tnoremap +" True Alt+Backspace in terminal +tnoremap ΓΏ