The VIM editor for Linux Learning

Source: Internet
Author: User
  1. Next page: Page Down

  2. Up one page: Page up

  3. To the beginning of the line: Home

  4. To end of line: End

  5. Move to the end of the file: G

  6. Move to file header: GG

  7. The cursor moves down n rows: N <enter>

  1. Search down Word string:/word

  2. Press N again: Search down

  3. Then press N: Search up

  4. Search for word1 between N1 and N2 lines and replace with Word2:: n1,n2s/word1/word2/g

  5. Search for word1 between the first line and the last row, and replace it with Word2:1, $s/word1/word2/g

  1. X: Delete one character after

  2. X: Delete the previous character


The VIM editor for Linux Learning

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.