XTERM keys update, now it should work flawlessly with PuTTY.

Added fabfile to gitignore.
This commit is contained in:
Stanislav Nikitin 2015-07-18 17:33:39 +05:00
parent 8392c9c3a4
commit 6158b4238f
2 changed files with 7 additions and 2 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
*kdev4
*kate-swp
fabfile*

View File

@ -85,8 +85,12 @@ case "${TERM}" in
bindkey '\e[H' beginning-of-line # home
bindkey '\e[F' end-of-line # end
bindkey '\e[3~' delete-char # delete
bindkey '\e[1;5C' forward-word # ctrl right
bindkey '\e[1;5D' backward-word # ctrl left
#bindkey '\e[1;5C' forward-word # ctrl right
#bindkey '\e[1;5D' backward-word # ctrl left
bindkey '^[[C' forward-word # ctrl right
bindkey '^[[D' backward-word # ctrl left
bindkey 'OC' forward-word # ctrl right
bindkey 'OD' backward-word # ctrl left
# workaround for screen + xterm
bindkey '\e[1~' beginning-of-line # home
bindkey '\e[4~' end-of-line # end