Browse Source

uncommended code block which binds special keys

master
Marc 4 years ago
parent
commit
cacda5de00
1 changed files with 10 additions and 10 deletions
  1. 20
      .config/zsh/.zshrc

20
.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 # Finally, make sure the terminal is in application mode, when zle is
# active. Only then are the values from $erminfo valid. # 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
Loading…
Cancel
Save