mirror of
https://github.com/mhinz/vim-galore.git
synced 2025-02-24 01:59:28 +08:00
Tips: Go to other end of selected text
This commit is contained in:
parent
1e78da0d90
commit
8bc1efb762
12
README.md
12
README.md
@ -74,6 +74,7 @@
|
|||||||
|
|
||||||
### [Tips](#tips-1)
|
### [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 behavior of n and N](#saner-behavior-of-n-and-n)
|
||||||
- [Saner command-line history](#saner-command-line-history)
|
- [Saner command-line history](#saner-command-line-history)
|
||||||
- [Saner CTRL-L](#saner-ctrl-l)
|
- [Saner CTRL-L](#saner-ctrl-l)
|
||||||
@ -1976,6 +1977,17 @@ https://gist.github.com/XVilka/8346728
|
|||||||
|
|
||||||
# Tips
|
# 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
|
## Saner behavior of n and N
|
||||||
|
|
||||||
The direction of `n` and `N` depends on whether `/` or `?` was used for
|
The direction of `n` and `N` depends on whether `/` or `?` was used for
|
||||||
|
Loading…
x
Reference in New Issue
Block a user