Vim Jump Command

Source: Internet
Author: User

Basic Jump:

HJKL: Lower left top right

HML: Current screen top, middle, bottom

Web: Next word first, next word ending, first word

GG: Top of File G: End of file Ngg/ng: Nth line

TA: Move to the next character after the first character of a line

FA: Move to the first character after the line where a

Ta: Move to the next character of the last character a before the line

Fa: Move to the last character before the line at a location

Ctrl+f: Next Page

Ctrl+b: Prev

Ctrl+d: Next Half page

Ctrl+u: Upper Half page

Ctrl+e: Next line

Ctrl+y: Previous Line

^$0: Beginning, end of line, first character

DT Locator: Always deleted to the line locator

Ctrl+i: Jumps to the previous X Word cursor location

Gg=g: Re-indent

Shift+v Line Selection Mode:

I {: Check everything between the brackets in the cursor, excluding the brackets

A {: Select everything between the brackets in the cursor, including the brackets

ib/i (: Selects everything between the parentheses, excluding parentheses

AB/A (: Check all content between the parentheses, including parentheses

V Mode:

I {, (, <, [

I w: Select a single word

I s: Select a sentence

I p: Select a paragraph

File Jump:

If Vim has multiple files open, you can

: n jumps to the latter file

:p rev jumps to the latter file

: First to jump to file one

: Last jump to final file

: E anotherfile Add an edit file: e# return to the previous file

: BN jumps to open nth file

Vim Jump Command

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.