23 lines
		
	
	
		
			747 B
		
	
	
	
		
			VimL
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			747 B
		
	
	
	
		
			VimL
		
	
	
	
	
	
set tw=0 expandtab ts=8 sts=2 sw=2 sm ai si
 | 
						|
set ml mls=5				" scan 5 lines for modelines
 | 
						|
syn on						" enable syntax highlighting
 | 
						|
set hls						" highlight search
 | 
						|
set bg=dark					" dark background
 | 
						|
 | 
						|
filetype plugin on
 | 
						|
set ofu=syntaxcomplete#Complete
 | 
						|
 | 
						|
au BufNewFile,BufRead *.vala  setf cs
 | 
						|
au BufNewFile,BufRead *.java  set ts=4 sts=4 sw=4
 | 
						|
au BufNewFile,BufRead *.cc set path=.,/usr/include,/usr/include/qt4/Qt,
 | 
						|
au BufNewFile,BufRead *.i set ft=swig
 | 
						|
au BufNewFile,BufRead *.factor set ft=factor
 | 
						|
au BufNewFile,BufRead Gemfile set ft=ruby
 | 
						|
au BufReadCmd *.epub call zip#Browse(expand("<amatch>"))
 | 
						|
 | 
						|
execute pathogen#infect()
 | 
						|
 | 
						|
set vb                          " turn on the "visual bell" - which is much quieter than the "audio blink"
 | 
						|
set nobackup
 | 
						|
se bs=2
 |