Vim Basic Command Notes

Source: Internet
Author: User
Two modes-edit mode: You can perform normal editing operations at the    bottom left--INSERT--    "input i in command mode to enter edit mode"-Command mode: You can    press ESC in edit mode by clicking on the command in the bottom left. Ability to return to command mode "* * *" the most important command: q! do not save the exit, once the error is modified, discard the changes! Common commands/xxx            find Xxxn               perform last find 0               to beginning w the               cursor moves backwards one word b               cursor moves forward one word x               Delete current one character DW              delete one word d               Delete to end of line DD              delete entire row v               select entire row y               copy the contents of the selection to the Clipboard p paste the contents of the Clipboard under the               cursor u               undo the last modification numg            move the cursor to the specified line (num). (e.g. 10G is to line 10th) GG              to file start G               to end of file: Wq             Save exit

Vim Basic Command Notes

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.