From 1930c8758f04541a08de1cf26fd22d64b924a5a2 Mon Sep 17 00:00:00 2001 From: Julian Prein Date: Fri, 21 Oct 2022 11:05:18 +0200 Subject: [PATCH] zsh:keys: Make shift-return act like return --- .config/zsh/zshrc.d/60-keys.zsh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.config/zsh/zshrc.d/60-keys.zsh b/.config/zsh/zshrc.d/60-keys.zsh index 5d48408..d212a2f 100644 --- a/.config/zsh/zshrc.d/60-keys.zsh +++ b/.config/zsh/zshrc.d/60-keys.zsh @@ -53,9 +53,10 @@ bindkey '^S' vi-pound-insert # https://www.leonerd.org.uk/hacks/fixterms/ # https://www.leonerd.org.uk/code/libtermkey/ -# shift-{,back}space should behave like without shift -bindkey -s '^[[32;2u' ' ' # shift-space -> space -bindkey -s '^[[127;2u' '^?' # shift-backspace -> backspace +# some shift- combinations should behave like without shift +bindkey -s '^[[32;2u' ' ' # shift-space +bindkey -s '^[[127;2u' '^?' # shift-backspace +bindkey -s '^[[13;2u' '^M' # shift-return ## Navigation bindkey "$terminfo[kcbt]" reverse-menu-complete # shift-tab