[Vim] content scrolling

Source: Internet
Author: User

The purpose of content scrolling is to move the content so that we can better watch the content. However, the content and the cursor position remain unchanged! Stage 1: C-F/B/u/D C-E/y prepare a large text file. I just want to browse the text. hjkl is too slow! OK, Ctrl-F/B/u/d for your service, C-F moves forward one screen [secondary memory: Forward] C-B moves backward one screen [secondary memory: backward: c-u move the half screen backward. [secondary memory: Up] c-d Move the half screen forward. [secondary memory: Down.] Okay, I just want to move one row! C-e Screen Content move up a line [secondary memory: Extra] C-y Screen Content move down a line where is the imagination? 5c-d5c-e34c-u Stage 1: zb zz zt 20z <enter> I want to change my row to the first line of the window: zt [secondary memory: top: Replace the command with z <enter>. I want to change my line to the middle line of the window: ZZ Replace the command with Z. I want to change my row to the last line of the window: ZB [secondary memory: Bottom] instead of Z-I want to change the row 20th of the text to the first line of the window! 20gg? It cannot reach 20 rows, but it is not in the first line ~ 20z <enter>? Oh, it's so powerful!

Unless stated, the White Rabbit software application (www.alittlerabbit.com)ArticleAre original, reprinted please mark the address of this article in the form of a link

Address: http://www.alittlerabbit.com/sitecontent/vim%E4%B9%8B%E5%86%85%E5% AE %B9%...

 

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.