Archived
1
0
Fork 0

refactor: changement organisation & ajout nouv config

This commit is contained in:
rick 2021-06-12 17:25:55 +02:00
parent 99301ceaa1
commit c56665d3ea
Signed by: Rick
GPG key ID: 2B593F087240EE99

51
vimrc
View file

@ -1,40 +1,41 @@
" source ~/.vim/vimrc.bepo source ~/.vim/vimrc.bepo
" load plugins " load plugins
" execute pathogen#infect() " execute pathogen#infect()
filetype plugin indent on filetype plugin indent on
colorscheme codedark
syntax on
let mapleader=' ' let mapleader=' '
filetype plugin indent on " load filetype-specific indent files
set tabstop=4 " affiche 1 tab comme 4 espaces
set softtabstop=4
set shiftwidth=4 " > indente de 4 espaces
set expandtab " tab = 4 espaces
set smarttab
set ai
set si
set wrap
set number " affiche les numéros de lignes
set relativenumber " affiche les numéros de lignes en fonction de lactuelle
set noerrorbells " désactive le son en cas derreur
set laststatus=2 " affiche le nom du fichier en bas
set showcmd " affiche la commande en bas
set cursorline " ligne actuelle en couleur
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
" paramètres de plugins " paramètres de plugins
let g:rainbow_active = 1 let g:rainbow_active = 1
let g:doge_doc_standard_c='kernel_doc' let g:doge_doc_standard_c='kernel_doc'
let g:grammalecte_cli_py='$HOME/.local/bin/grammalecte/grammalecte-cli.py' let g:grammalecte_cli_py='$HOME/.local/bin/grammalecte/grammalecte-cli.py'
colorscheme codedark
syntax on
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
" parametre pour la taille des espaces selon le langage " parametre pour la taille des espaces selon le langage
autocmd Filetype java setlocal expandtab tabstop=8 shiftwidth=8 softtabstop=8 autocmd Filetype java setlocal expandtab tabstop=8 shiftwidth=8 softtabstop=8
autocmd Filetype javascript setlocal expandtab tabstop=2 shiftwidth=2 softtabstop=2 autocmd Filetype javascript setlocal expandtab tabstop=2 shiftwidth=2 softtabstop=2