2021-01-24 16:59:18 +01:00
|
|
|
" source ~/.vim/vimrc.bepo
|
2020-09-30 00:29:42 +02:00
|
|
|
|
|
|
|
" load plugins
|
2021-01-24 16:59:18 +01:00
|
|
|
" execute pathogen#infect()
|
2020-09-30 00:29:42 +02:00
|
|
|
filetype plugin indent on
|
2020-05-14 11:43:58 +02:00
|
|
|
|
|
|
|
let mapleader=' '
|
2020-07-07 11:14:12 +02:00
|
|
|
let g:rainbow_active = 1
|
2020-05-14 11:43:58 +02:00
|
|
|
|
|
|
|
colorscheme codedark
|
2021-01-24 16:59:18 +01:00
|
|
|
syntax on
|
2020-05-14 11:43:58 +02:00
|
|
|
|
|
|
|
set tabstop=4
|
|
|
|
set softtabstop=4
|
|
|
|
set expandtab
|
|
|
|
set smarttab
|
|
|
|
set shiftwidth=4
|
|
|
|
set ai
|
|
|
|
set si
|
|
|
|
set wrap
|
|
|
|
|
|
|
|
set number
|
|
|
|
|
|
|
|
set showcmd " show command in bottom bar
|
|
|
|
set cursorline " highlight current line
|
|
|
|
filetype indent on " load filetype-specific indent files
|
|
|
|
set wildmenu " visual autocomplete for command menu
|
|
|
|
set lazyredraw " redraw only when we need to.
|
|
|
|
set showmatch " highlight matching [{()}]
|
|
|
|
|
|
|
|
set incsearch " search as characters are entered
|
|
|
|
set hlsearch " highlight matches
|
|
|
|
|
2021-01-24 16:59:18 +01:00
|
|
|
" parametre pour la taille des espaces selon le langage
|
2020-09-30 00:29:42 +02:00
|
|
|
autocmd Filetype java setlocal expandtab tabstop=8 shiftwidth=8 softtabstop=8
|
|
|
|
autocmd Filetype javascript setlocal expandtab tabstop=2 shiftwidth=2 softtabstop=2
|
2021-01-24 16:59:18 +01:00
|
|
|
autocmd Filetype c setlocal expandtab tabstop=2 shiftwidth=2 softtabstop=2
|