Vim-move cursor

Source: Internet
Author: User

Vim-move cursor

H, J, K, L → left, bottom, top, right.
<C-F> → flip down.
<C-B> → page up.
% → Move the cursor to the matched {}.
W → start of the next word.
W → same as W.
E → end of a word.
E → same as E.
B → the first word.
B → same as B.
0 → the beginning of the line.
^ → The first character in the row.
$ → End of the row.
Gg → start of the first line.
GD → go to the definition of a function or variable.
(N) G → go to the nth or last line.
(N) f (x) → searches for the nth x character in the row, and the query direction is left to right.
; → Repeat the last F operation.
(N) T (x) → like f, the cursor stops at the left of the character to search.
(N) f (x) → searches for the nth x character in the row, and the query direction is from right to left.
(→ Move to the first character of the previous paragraph, and separate the paragraphs with null characters.
) → Move to the first character of the next paragraph.
* → Search for the current string and move it to the first character of the Next string.
# → Search for the current string and move it to the first character of the previous string.
'. → Move to the Last edited row.
H → the first character to move to the first line of the current screen.
M → the first character to move to the middle line of the current screen.
L → move to the first character of the last line of the current screen.
Ma → create a label at the current position.
'A → jump to the MA tag.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.