diff --git a/vimrc b/vimrc index 5ce721f..0353f25 100644 --- a/vimrc +++ b/vimrc @@ -1,5 +1,8 @@ -" source ~/.vim/vimrc.bepo +"source ~/.vim/vimrc.bepo + +" load plugins execute pathogen#infect() +filetype plugin indent on let mapleader=' ' let g:rainbow_active = 1 @@ -28,4 +31,6 @@ set showmatch " highlight matching [{()}] set incsearch " search as characters are entered set hlsearch " highlight matches - +" parametre pour la taille des espaces +autocmd Filetype java setlocal expandtab tabstop=8 shiftwidth=8 softtabstop=8 +autocmd Filetype javascript setlocal expandtab tabstop=2 shiftwidth=2 softtabstop=2