Vim Mobile shortcut key

Source: Internet
Author: User

# # Mobile

Vim Mobile shortcut key finishing I am finishing the accumulation of coding process in all aspects of knowledge, welcome to [GitHub] (https://github.com/hubeixugang/Accumulate) to contribute, share.

[Githuo static Page] (http://hubeixugang.github.io/DevelopmentEnvironment/Editor/VIM.html)

[GitHub Knowledge Accumulates blog contribution page] (https://github.com/hubeixugang/Accumulate)

# # Movement by Screensi

| Command | Explanation | Command | Explanation |
|-----------|------------------|----------|---------------------|
| CTRL + F | Move Down one page | CTRL + B | Move up one page |
| CTRL + D | Move Down Half page | CTRL + U | Move Up Half page |
| Ctrl + Y | Move Down one line | CTRL + E | Move Up One line |
| Zt[enter] | Move to top of screen |    zz[.] | Move to the middle of the screen |
| Zb[-] | Move to bottom of screen | NZZ | Line n moves to the middle of the screen |
| H | Move to the top of the screen line | M | Move to the middle of the screen line |
| L | Move to the bottom of the screen line | NH | Move to top row n rows |
| NL | Move to the bottom n rows | Nenter | Move Down n Rows |
| +         | Move Down one line | -        | Move Up One line |
| ^         | First non-whitespace | n\ | Move to n columns of the current row |
| N <space> | Shift Right N characters |

# # # Movement by text Blocksi

| Command | Explanation | Command | Explanation |
|------|--------------------|------|--------------------|
| W | Move to the beginning of the next word | B | Move to the beginning of the previous word |
| e | Move to end of Word | (| Move to the beginning of the current sentence |
| )    | The beginning of the next line of sentences | {| The beginning of this paragraph |
| }    | The beginning of the next paragraph | [[| | The beginning of this section |
| ]]   | The beginning of the next section | GE [GE] | Move to previous Word |

# # Movement by searches for Patternsi

| Command | Explanation | Command | Explanation |
|------------|---------------------------|------------|----------------|
| /          |          Search Forward |? | Search Backwards |
| n [/enter] | Repeat Search Forward | N [? Enter] | Repeat Search Back |
| d/c | Search for C characters and delete previous content | FX | Search Backwards x |
| Fx | Search Forward X | TX | Search Backwards x |
| Tx |          Search Forward X |; | Repeat Last Search |
| ,          | Repeat search, in opposite directions |

Set Nowrapscan Controls whether the search can be wrapped back to the beginning

# # Movement by Line Numberi

| Command | Explanation | Command | Explanation |
|------|----------------|------|----------------|
| G | Bottom of File | GG | First line of File |
| NG | Move to N rows | \`\` | Back to previous location |
| ' | Back to previous location |

Reference: "Learning VI and Vim editor Seventh edition"


Vim Mobile shortcut key

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.