gvasalt/states/vagrant/vimrc

35 lines
900 B
VimL
Raw Normal View History

2015-10-11 15:38:45 +02:00
syntax on
set showcmd
set modeline
set modelines=3
set expandtab
set shiftwidth=4
set autoindent
set smarttab
set ruler
set list listchars=tab:▷⋅,trail:⋅,nbsp:⋅
set cpoptions+=$
set hlsearch
set virtualedit=all
set guioptions-=T
set guioptions-=m
set wildmenu
set complete=.,w,b,u,t
2015-10-13 22:31:27 +02:00
set number
2015-10-11 15:38:45 +02:00
filetype plugin indent on
autocmd BufNewFile,BufRead *.sls set filetype=yaml
autocmd FileType make set noexpandtab
autocmd FileType python set tabstop=4 shiftwidth=4 autoindent smartindent textwidth=79
autocmd FileType html set tabstop=2 shiftwidth=2 textwidth=200 smartindent autoindent
autocmd FileType htmldjango set tabstop=2 shiftwidth=2 textwidth=200
autocmd FileType moin set tabstop=2 shiftwidth=2
autocmd FileType rst set textwidth=79
autocmd FileType yaml set tabstop=2 shiftwidth=2
set laststatus=2
set statusline=%f%m%r%h%w\ [TYPE=%Y\ %{&ff}]\ \ [%c\ @\ %l/%L]\ (%p%%)\ [%b\ 0x%B]