Update vimrc with plug autoinstall
This commit is contained in:
		
							
								
								
									
										6
									
								
								vimrc
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								vimrc
									
									
									
									
									
								
							@@ -1,3 +1,9 @@
 | 
				
			|||||||
 | 
					if empty(glob('~/.vim/autoload/plug.vim'))
 | 
				
			||||||
 | 
					  silent !curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \
 | 
				
			||||||
 | 
					    https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
 | 
				
			||||||
 | 
					  autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
 | 
				
			||||||
 | 
					endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
" disable compatability
 | 
					" disable compatability
 | 
				
			||||||
set nocompatible
 | 
					set nocompatible
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user