Updated zshrc and vimrc
This commit is contained in:
10
vim/vimrc
10
vim/vimrc
@@ -1,12 +1,14 @@
|
|||||||
"vimrc - VIM Configuration file"
|
"vimrc - VIM Configuration file"
|
||||||
|
|
||||||
"Autointend"
|
"Autointend and autoscroll 3 lines above the cursor"
|
||||||
:set cindent
|
:set cindent
|
||||||
|
:set scrolloff=3
|
||||||
|
|
||||||
"Tabstop, Shiftwith and replace tabs with spaces"
|
"Tabstop, Shiftwith and replace tabs with spaces but not in makefiles
|
||||||
:set tabstop=4
|
:set tabstop=4
|
||||||
:set shiftwidth=4
|
:set shiftwidth=4
|
||||||
:set expandtab
|
:set expandtab
|
||||||
|
:autocmd FileType make set noexpandtab
|
||||||
|
|
||||||
"Stuff needed by urxvt"
|
"Stuff needed by urxvt"
|
||||||
:set nocompatible
|
:set nocompatible
|
||||||
@@ -15,7 +17,9 @@
|
|||||||
|
|
||||||
"Syntaxhighlighting, colorscheme, linenumbers"
|
"Syntaxhighlighting, colorscheme, linenumbers"
|
||||||
:syntax on
|
:syntax on
|
||||||
:colorscheme calmar256-dark
|
:set background=dark
|
||||||
|
:colorscheme lettuce
|
||||||
|
:set t_Co=256
|
||||||
:set number
|
:set number
|
||||||
:set list
|
:set list
|
||||||
:set nowrap
|
:set nowrap
|
||||||
|
|||||||
@@ -98,7 +98,7 @@ alias egrep='egrep --color=auto'
|
|||||||
alias fgrep='fgrep --color=auto'
|
alias fgrep='fgrep --color=auto'
|
||||||
alias diff='colordiff'
|
alias diff='colordiff'
|
||||||
alias ports='netstat -tulanp'
|
alias ports='netstat -tulanp'
|
||||||
alias penis="cowsay -f head-in ahh ja so lässig"
|
alias cal='cal -m'
|
||||||
|
|
||||||
setopt autopushd pushdsilent pushdtohome
|
setopt autopushd pushdsilent pushdtohome
|
||||||
setopt pushdignoredups
|
setopt pushdignoredups
|
||||||
|
|||||||
Reference in New Issue
Block a user