add vim search
This commit is contained in:
		
							
								
								
									
										8
									
								
								vim/search.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								vim/search.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,8 @@
 | 
				
			|||||||
 | 
					Search and replace the first 'one' found with 'two':
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					> :%s/one/two/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Same, but replace 'one' globally:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					> :%s/one/two/g
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		Reference in New Issue
	
	Block a user