1
0
Fork 0
mirror of https://github.com/kastdeur/dotfiles.git synced 2025-05-14 20:09:26 +02:00

Added vim plugin + autoindent\n use vi if vim is typed and not available

This commit is contained in:
Eric-Teunis de Boone 2016-10-05 00:32:06 +02:00
parent ef8bf8ac54
commit 061f80b9b9
144 changed files with 30057 additions and 0 deletions

View file

@ -7,18 +7,31 @@ endif
filetype plugin on
"Load LaTex-Suite on empty tex files
let g:tex_flavor='latex'
if &term=="xterm"
set t_Co=8
set t_Sb=^[[4%dm
set t_Sf=^[[3%dm
endif
"Auto indentation
filetype indent on
" Set tabbing stuff
set autoindent
set tabstop=4
set shiftwidth=4
set noexpandtab
"Folding
augroup vimrc
au BufReadPre * setlocal foldmethod=indent
au BufWinEnter * if &fdm == 'indent' | setlocal foldmethod=manual | endif
augroup END
set grepprg=grep\ -nH\ $*
" Don't wake up system with blinking cursor:
" http://www.linuxpowertop.org/known.php