Fastfix for previous commits - completely disable some keybndings.

This commit is contained in:
Stanislav Nikitin 2020-04-27 21:39:41 +05:00
parent 93d80bdf57
commit 4218c6b8b6
No known key found for this signature in database
GPG Key ID: 106900B32F8192EE
2 changed files with 3 additions and 3 deletions

View File

@ -88,8 +88,8 @@ case "${TERM}" in
bindkey '\e[3~' delete-char # delete bindkey '\e[3~' delete-char # delete
bindkey '^[[C' forward-word # ctrl right bindkey '^[[C' forward-word # ctrl right
bindkey '^[[D' backward-word # ctrl left bindkey '^[[D' backward-word # ctrl left
bindkey '\eOC' forward-word # ctrl right # bindkey '\eOC' forward-word # ctrl right
bindkey '\eOD' backward-word # ctrl left # bindkey '\eOD' backward-word # ctrl left
bindkey '^[[1;3C' forward-word # alt right bindkey '^[[1;3C' forward-word # alt right
bindkey '^[[1;3D' backward-word # alt left bindkey '^[[1;3D' backward-word # alt left
# workaround for screen + xterm # workaround for screen + xterm

2
zshrc
View File

@ -27,7 +27,7 @@ fi
source ${CONFIG_PATH}/zsh/lib/logger.lib.sh source ${CONFIG_PATH}/zsh/lib/logger.lib.sh
if [ $CONFIG_FOUND -eq 1 ]; then if [ $CONFIG_FOUND -eq 1 ]; then
for config_file in `ls --color=never ${CONFIG_PATH}/zsh/ | sort | grep zsh`; do for config_file in `ls ${CONFIG_PATH}/zsh/ | sort | grep zsh`; do
source ${CONFIG_PATH}/zsh/${config_file} source ${CONFIG_PATH}/zsh/${config_file}
done done
else else