vim/vimrc
2018-08-28 15:20:33 +02:00

33 lines
536 B
VimL

" Style
colorscheme elflord
syntax on
set wildmenu
set autoindent
" Tab
set tabstop=2
set shiftwidth=2
set expandtab
set smarttab
set textwidth=72
" Show row numbers
set rnu
" Strip trailing whitespaces
autocmd BufWritePre * %s/\s\+$//e
" Display extra whitespace
set list listchars=tab:»·,trail
" Copy paste about clipboard
set mouse=v
" Sepcial configurations
autocmd Filetype make setlocal noexpandtab
autocmd BufNewFile,BufRead rsnapshot.conf setlocal noexpandtab
" Autocompletion (bash)
set wildmode=longest,list,full