mirror of
				https://github.com/mhinz/vim-galore.git
				synced 2025-11-04 11:55:35 +08:00 
			
		
		
		
	README: add mappings for saner behavior of and N (#137)
Add visual and operator-pending modes mappings
This commit is contained in:
		@@ -1997,7 +1997,12 @@ If you want `n` to always search forward and `N` backward, use this:
 | 
			
		||||
 | 
			
		||||
```vim
 | 
			
		||||
nnoremap <expr> n  'Nn'[v:searchforward]
 | 
			
		||||
xnoremap <expr> n  'Nn'[v:searchforward]
 | 
			
		||||
onoremap <expr> n  'Nn'[v:searchforward]
 | 
			
		||||
 | 
			
		||||
nnoremap <expr> N  'nN'[v:searchforward]
 | 
			
		||||
xnoremap <expr> N  'nN'[v:searchforward]
 | 
			
		||||
onoremap <expr> N  'nN'[v:searchforward]
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
## Saner command-line history
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user