From cacda5de0048e7785c499f933730a4c1563f69d5 Mon Sep 17 00:00:00 2001 From: Marc Date: Fri, 15 May 2020 14:41:06 +0200 Subject: [PATCH] uncommended code block which binds special keys --- .config/zsh/.zshrc | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index 7322d80..3eff8f9 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -98,16 +98,16 @@ bindkey "^R" history-incremental-search-backward # Finally, make sure the terminal is in application mode, when zle is # active. Only then are the values from $erminfo valid. -#if (( ${+terminfo[smkx]} )) && (( ${+terminfo[rmkx]} )); then -# function zle-line-init () { -# echoti smkx -# } -# function zle-line-finish () { -# echoti rmkx -# } -# zle -N zle-line-init -# zle -N zle-line-finish -#fi +if (( ${+terminfo[smkx]} )) && (( ${+terminfo[rmkx]} )); then + function zle-line-init () { + echoti smkx + } + function zle-line-finish () { + echoti rmkx + } + zle -N zle-line-init + zle -N zle-line-finish +fi