mirror of https://github.com/nirenjan/dotfiles.git
				
				
				
			Use light BG in GUI Vim and dark in console
Console uses Solarized (Dark) colorscheme, so having a light background doesn't work well in the console. On the other hand, the dark background is hard to read in MacVim (for me).vimbundler
							parent
							
								
									1b8e435dc4
								
							
						
					
					
						commit
						b55a9b43dc
					
				
							
								
								
									
										6
									
								
								vimrc
								
								
								
								
							
							
						
						
									
										6
									
								
								vimrc
								
								
								
								
							| 
						 | 
					@ -76,8 +76,12 @@ set wcm=<C-Z>
 | 
				
			||||||
map <F4> :emenu <C-Z>
 | 
					map <F4> :emenu <C-Z>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
" Colorscheme
 | 
					" Colorscheme
 | 
				
			||||||
set background=dark
 | 
					 | 
				
			||||||
colorscheme solarized
 | 
					colorscheme solarized
 | 
				
			||||||
 | 
					if has("gui_running")
 | 
				
			||||||
 | 
					    set background=light
 | 
				
			||||||
 | 
					else
 | 
				
			||||||
 | 
					    set background=dark
 | 
				
			||||||
 | 
					end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
" Mouse support
 | 
					" Mouse support
 | 
				
			||||||
if has("mouse")
 | 
					if has("mouse")
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue