From 27a9651206b41faaf274f9d040cae20342063540 Mon Sep 17 00:00:00 2001 From: Johannes Findeisen Date: Sat, 27 Jun 2015 23:22:54 +0200 Subject: [PATCH] added some more zsh and vim stuff --- .vimrc | 13 +++++++++++++ .zsh/oh-my-zsh | 2 +- .zshrc | 4 ++-- 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/.vimrc b/.vimrc index d53b1655..3bfae4bf 100644 --- a/.vimrc +++ b/.vimrc @@ -19,3 +19,16 @@ filetype plugin indent on set tabstop=4 set shiftwidth=4 set expandtab + +" Highlight searches (use to temporarily turn off highlighting; see the +" mapping of below) +set hlsearch + +" Use case insensitive search, except when using capital letters +set ignorecase +set smartcase + +" Display the cursor position on the last line of the screen or in the status +" line of a window +set ruler + diff --git a/.zsh/oh-my-zsh b/.zsh/oh-my-zsh index d196be84..afe9fb05 160000 --- a/.zsh/oh-my-zsh +++ b/.zsh/oh-my-zsh @@ -1 +1 @@ -Subproject commit d196be84fa37a3a7e21355e68560c20676096d2a +Subproject commit afe9fb059cf4069d278d69cd72e0d9b50e10d6c9 diff --git a/.zshrc b/.zshrc index 63224b44..b7742e0a 100644 --- a/.zshrc +++ b/.zshrc @@ -67,7 +67,7 @@ source $ZSH/oh-my-zsh.sh ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets pattern cursor) if [ -e ~/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ] then -source ~/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh + source ~/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh fi # Now source some stuff that should not be public @@ -91,7 +91,7 @@ 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"} ;;