added some vim features

This commit is contained in:
Johannes Findeisen 2015-06-27 23:08:27 +02:00
commit ab339017a5
6 changed files with 383 additions and 6 deletions

7
.zshrc
View file

@ -91,7 +91,12 @@ alias xterm='uxterm -bg black -fg grey -sb -leftbar -si -bc -cr orange'
# I use xterm and this sets a nice title with hostname and cwd in it.
case $TERM in
xterm*)
xterm)
export TERM=xterm-256color
precmd () {print -Pn "\e]0;%n@%m: %~\a"}
;;
screen)
export TERM=screen-256color
precmd () {print -Pn "\e]0;%n@%m: %~\a"}
;;
esac