From af5abe598729e4948965442a63aff2971462c94f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20K=C3=B6rber?= Date: Mon, 5 Oct 2015 19:29:30 +0200 Subject: [PATCH] Update. --- vim/vimrc | 6 +++--- zsh/zshrc | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/vim/vimrc b/vim/vimrc index 1e333f5..7b17ee7 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -192,9 +192,9 @@ nnoremap Q " === autocommands === -" autosave views when closing and restoring when opening again. -autocmd BufWinLeave *.* mkview -autocmd BufWinEnter *.* silent loadview +"" autosave views when closing and restoring when opening again. +"autocmd BufWinLeave *.* mkview +"autocmd BufWinEnter *.* silent loadview " === plugin setup === diff --git a/zsh/zshrc b/zsh/zshrc index f1f721c..fde6807 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -143,6 +143,7 @@ alias g="git" alias t="tmux" alias c="cd" alias l="ls" +alias s="sudo" alias calc='python3 -ic "from math import *; import cmath"' @@ -150,7 +151,7 @@ alias calc='python3 -ic "from math import *; import cmath"' alias cat="cat -v" alias vimrc="vim -c ':e \$MYVIMRC'" -alias zshrc="vim -c ':e ~/.zshrc'" +alias zshrc="vim -c ':e ~/.zshrc' ; source ~/.zshrc" alias vim="nvim"