Improved vimrc

This commit is contained in:
id101010
2016-10-03 01:10:42 +02:00
2 changed files with 10 additions and 9 deletions

View File

@@ -82,5 +82,5 @@ set hlsearch
set laststatus=2
set t_Co=256
" Automaticly reread a file, if file has changed "
"Automaticly reread a file, if file has changed"
set autoread

View File

@@ -80,13 +80,14 @@ DIRSTACKSIZE=20
# Colored manpages
man() {
env LESS_TERMCAP_mb=$'\E[30;43m' \
LESS_TERMCAP_md=$'\E[01;38;5;74m' \
LESS_TERMCAP_me=$'\E[0m' \
LESS_TERMCAP_se=$'\E[0m' \
LESS_TERMCAP_so=$'\E[38;5;246m' \
LESS_TERMCAP_ue=$'\E[0m' \
LESS_TERMCAP_us=$'\E[04;38;5;146m' \
env \
LESS_TERMCAP_mb=$(printf "\e[1;31m") \
LESS_TERMCAP_md=$(printf "\e[1;31m") \
LESS_TERMCAP_me=$(printf "\e[0m") \
LESS_TERMCAP_se=$(printf "\e[0m") \
LESS_TERMCAP_so=$(printf "\e[1;44;33m") \
LESS_TERMCAP_ue=$(printf "\e[0m") \
LESS_TERMCAP_us=$(printf "\e[1;32m") \
man "$@"
}
@@ -98,7 +99,7 @@ alias egrep='egrep --color=auto'
alias fgrep='fgrep --color=auto'
alias diff='colordiff'
alias ports='netstat -tulanp'
alias penis="cowsay -f head-in ahh ja so lässig"
alias cal='cal -m'
setopt autopushd pushdsilent pushdtohome
setopt pushdignoredups