samedi 6 juin 2015

vimrc file

Every vim user has his own config file, which they are used to ...
Here is mine ..
Mon fichier vimrc ...

" add line number
set number

" auto highlih syntax
syntax on

" Ignore compiled files
set wildignore=*.o,*~,*.pyc

" text color
colorscheme koehler

" mouse
set mouse=a

set showcmd
set showmatch
filetype plugin indent on
filetype on
set history=100

" highlight search result
set hlsearch

" better search
set incsearch

" show cursor
set cursorline
hi Cursorline ctermbg=darkgrey guibg=#771c1c cterm=none

" For regular expressions turn magic on
set magic

" Show matching brackets when text indicator is over them
set showmatch

" How many tenths of a second to blink when matching brackets
set mat=2

" spell correction for french
set spelllang =en
set spell
set spellsuggest =5

" for BSD system if you want to use gmake
" set makeprg=gmake

Aucun commentaire:

Enregistrer un commentaire