diff --git a/assets/ghostty/config b/etc/ghostty/config similarity index 74% rename from assets/ghostty/config rename to etc/ghostty/config index b1c8d24..e591876 100644 --- a/assets/ghostty/config +++ b/etc/ghostty/config @@ -9,7 +9,11 @@ keybind = ctrl+,=unbind keybind = shift+home=text:\x1b[1;2H keybind = shift+end=text:\x1b[1;2F keybind = shift+backspace=text:\x1b[127;2u + +# special case ALT+BS => SUPER+ALT+BS keybind = alt+backspace=text:\x1b[127;11u +# keybind = alt+backspace=text:\x1b[127;3u # kitty ALT+BS +# keybind = alt+backspace=text:\x1b\x7f # xterm ALT+BS # Mouse Wheel speed mouse-scroll-multiplier = 1 diff --git a/etc/vim/vimrc.rookie b/etc/vim/vimrc.rookie index 4f476ec..9136911 100644 --- a/etc/vim/vimrc.rookie +++ b/etc/vim/vimrc.rookie @@ -15,13 +15,13 @@ nnoremap } " Delete Words inoremap db -inoremap d0 +inoremap d^ inoremap dw inoremap d$ inoremap ddk inoremap dd nnoremap db -nnoremap d0 +nnoremap d^ nnoremap dw nnoremap d$ @@ -75,15 +75,23 @@ vnoremap :m '>+1gv=gv vnoremap :m '<-2gv=gv " Undo/Redo -inoremap g-i -nnoremap g- -inoremap g+a +autocmd VimEnter * inoremap g- +inoremap g+ +inoremap :earlier 1f +nnoremap g- nnoremap g+ nnoremap :earlier 1f -" True Ctrl+Backspace in terminal +" Terminal tnoremap -" Readline Alt+Backspace in terminal and insert modes + +" means +imap +nmap +tnoremap + +" Ghostty <=> ÿ means +nmap ÿ +imap ÿ tnoremap ÿ -inoremap ÿ d^