diff --git a/vimrc b/vimrc index c79021f..87ba108 100644 --- a/vimrc +++ b/vimrc @@ -235,6 +235,10 @@ augroup sourcing autocmd bufwritepost .vimrc source $MYVIMRC augroup END +noremap :update +vnoremap :update +inoremap :update + " Open file prompt with current path nmap e :e =expand("%:p:h") . '/' diff --git a/zshrc b/zshrc index 22daf28..90be577 100644 --- a/zshrc +++ b/zshrc @@ -28,6 +28,7 @@ export NODE_PATH=/usr/local/lib/node_modules export TERM=rxvt export LC_ALL=$LANG alias ..="cd .." +alias vi="stty stop '' -ixoff ; vim" alias gcc="gcc-5" alias g++="g++-5" alias push="git push"