[Practical.vim (2012.9)]. DREW.NEIL.TIP20 Study Summary

Source: Internet
Author: User

Visual mode allows us to select a range of text and then operate upon it. However intuitive this might seem, Vim's perspective on selecting text was different from the other text editors.
Visual mode allows the user to easily select a piece of text and then manipulate it. The text selection method under Vim is not the same as the text editor that we typically encounter.

Many of the commands that is familiar with from Normal mode work just the same in Visual mode. We can still use H, J, K, and L as cursor keys.
We can use F{char} to the character of the current line and then repeat or reverse the jump with the; And, commands, respectively. We can even use the Search command (and n/n) to the pattern matches. Each time we move our cursor in Visual mode and we change the bounds of the selection

In visual mode, you can perform many of the commands in normal mode. For example, you can use H,j,k and l to move the cursor, you can use f{char} the current line to jump to character position, use ; or , repeat the command. We can also use the search command and then use n or N skip to the pattern matching item. In visual mode, you can change the range of text selections by moving the cursor.

[Practical.vim (2012.9)]. DREW.NEIL.TIP20 Study Summary

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.