mirror of
				https://github.com/mhinz/vim-galore.git
				synced 2025-11-04 11:55:35 +08:00 
			
		
		
		
	Tips: Go to other end of selected text
This commit is contained in:
		
							
								
								
									
										12
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								README.md
									
									
									
									
									
								
							@@ -74,6 +74,7 @@
 | 
			
		||||
 | 
			
		||||
### [Tips](#tips-1)
 | 
			
		||||
 | 
			
		||||
- [Go to other end of selected text](#go-to-other-end-of-selected-text)
 | 
			
		||||
- [Saner behavior of n and N](#saner-behavior-of-n-and-n)
 | 
			
		||||
- [Saner command-line history](#saner-command-line-history)
 | 
			
		||||
- [Saner CTRL-L](#saner-ctrl-l)
 | 
			
		||||
@@ -1976,6 +1977,17 @@ https://gist.github.com/XVilka/8346728
 | 
			
		||||
 | 
			
		||||
# Tips
 | 
			
		||||
 | 
			
		||||
## Go to other end of selected text
 | 
			
		||||
 | 
			
		||||
`o` and `O` in a visual selection make the cursor go to the other end. Try with
 | 
			
		||||
blockwise selection to see the difference. This is useful for quickly changing
 | 
			
		||||
the size of the selected text.
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
:h v_o
 | 
			
		||||
:h v_O
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
## Saner behavior of n and N
 | 
			
		||||
 | 
			
		||||
The direction of `n` and `N` depends on whether `/` or `?` was used for
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user