You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			45 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			VimL
		
	
			
		
		
	
	
			45 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			VimL
		
	
| " Use Vim settings, rather than Vi settings (much better!).
 | |
| " This must be first, because it changes other options as a side effect.
 | |
| set nocompatible
 | |
| 
 | |
| filetype plugin on
 | |
| syntax on
 | |
| 
 | |
| " 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 number
 | |
| highlight ColorColumn ctermbg=8
 | |
| "Détection de la profondeur des couleurs (8bits)
 | |
| if &t_Co > 8
 | |
|     colorscheme wombat256mod
 | |
|     let &colorcolumn="80,".join(range(120,999),",")
 | |
|     highlight ColorColumn ctermbg=235 guibg=#2c2d27
 | |
| endif
 | |
| 
 | |
| " vim hardcodes background color erase even if the terminfo file does
 | |
| " not contain bce (not to mention that libvte based terminals
 | |
| " incorrectly contain bce in their terminfo files). This causes
 | |
| " incorrect background rendering when using a color theme with a
 | |
| " background color.
 | |
| let &t_ut=''
 |