-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Visual Mode
Mujtaba Al-Tameemi edited this page Apr 2, 2017
·
8 revisions
Visual mode is used for selecting text on the page.
- use
v
to enter visual mode - use
V
to enter visual line mode
Visual mode implements a number of vim-like movements, j
, k
, h
, l
, w
, e
, b
, etc. Counts are also supported, for example 3e
.
Caret mode is used for changing the starting point for selecting text on the page
- use
c
to enter caret mode from visual mode (orv
followed byc
from normal mode) - If there is no existing selection when entering visual mode, then Vimium first enters caret mode. In caret mode, you can position the caret before entering visual-mode proper with
v
. -
v
andc
can be used to move back and forward between visual and caret modes.
Exiting visual mode:
-
Esc
- just exit visual mode -
y
- yank the selected text to the clipboard -
p
/P
- send the selected text to the default search engine
- In visual mode,
o
swaps the anchor and the focus, so you can also move the "other end" of the selection. - A good way to find the starting point for your selection is to to use Find mode to jump to your desired starting location on the page.