mirror of
https://github.com/mhinz/vim-galore.git
synced 2025-02-24 01:59:28 +08:00
README: add mappings for saner behavior of and N (#137)
Add visual and operator-pending modes mappings
This commit is contained in:
parent
05ccf170ef
commit
765dcc6809
@ -1997,7 +1997,12 @@ If you want `n` to always search forward and `N` backward, use this:
|
|||||||
|
|
||||||
```vim
|
```vim
|
||||||
nnoremap <expr> n 'Nn'[v:searchforward]
|
nnoremap <expr> n 'Nn'[v:searchforward]
|
||||||
|
xnoremap <expr> n 'Nn'[v:searchforward]
|
||||||
|
onoremap <expr> n 'Nn'[v:searchforward]
|
||||||
|
|
||||||
nnoremap <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
|
## Saner command-line history
|
||||||
|
Loading…
x
Reference in New Issue
Block a user