Permalink
Browse files

Fix keys when we pretend to be running into screen-256color.

  • Loading branch information...
Piotr Karbowski
Piotr Karbowski committed Apr 5, 2012
1 parent cd81d4b commit 5afdb4f9a70b193f73c88116dceb1d2df701bc1d
Showing with 2 additions and 0 deletions.
  1. +2 −0 configs/DOTzshrc
View
@@ -304,6 +304,8 @@ fi
# Not all servers have terminfo for rxvt-256color. :<
if [ "${TERM}" = 'rxvt-256color' ] && ! [ -f '/usr/share/terminfo/r/rxvt-256color' ] && ! [ -f '/lib/terminfo/r/rxvt-256color' ]; then
export TERM='screen-256color'
+ bindkey "^[[7~" beginning-of-line #Home key
+ bindkey "^[[8~" end-of-line #End key
fi
export EDITOR="/usr/bin/vim"

0 comments on commit 5afdb4f

Please sign in to comment.