initial commit
This commit is contained in:
33
vimrc
Normal file
33
vimrc
Normal file
@@ -0,0 +1,33 @@
|
||||
" Use Vim settings, rather than Vi settings (much better!).
|
||||
" This must be first, because it changes other options as a side effect.
|
||||
set nocompatible
|
||||
|
||||
" allow backspacing over everything in insert mode
|
||||
set backspace=indent,eol,start
|
||||
|
||||
if has("vms")
|
||||
set nobackup " do not keep a backup file, use versions instead
|
||||
else
|
||||
set backup " keep a backup file
|
||||
endif
|
||||
set history=50 " keep 50 lines of command line history
|
||||
set ruler " show the cursor position all the time
|
||||
set showcmd " display incomplete commands
|
||||
set incsearch " do incremental searching
|
||||
|
||||
" Tab specific option
|
||||
set tabstop=4 "A tab is 8 spaces
|
||||
set expandtab "Always uses spaces instead of tabs
|
||||
set softtabstop=4 "Insert 4 spaces when tab is pressed
|
||||
set shiftwidth=4 "An indent is 4 spaces
|
||||
set shiftround "Round indent to nearest shiftwidth multiple
|
||||
|
||||
"""""" Réglages cosmétiques
|
||||
set background=dark
|
||||
set cc=80
|
||||
set number
|
||||
highlight ColorColumn ctermbg=8
|
||||
"Détection de la profondeur des couleurs (8bits)
|
||||
if &t_Co > 8
|
||||
colorscheme wombat256mod
|
||||
endif
|
||||
Reference in New Issue
Block a user