VIM Command mode cursor movement + find

Source: Internet
Author: User
1. Need to install vim under the shell command to knock command Vimtutor IDE integrated development Environment 1.vim Three modes of operation A. Command mode B. Edit mode C. Last-line mode command mode to modify the file edit mode line adjustment, query, replace, save exit 3. Related operation in command mode,-save exit: Shift+zz

-Code formatting: gg=g

-Cursor movement: Up and down: HJKL cursor moves to the beginning: 0 cursor moves to the end of the line: $ cursor moves to the file header: GG cursor moves to tail of file: G line jump 123 line: 123G line number n Enter: The current line moves down n rows

Find command/xxx from top to bottom? xxx look up keyword toggle: n/n #: Cursor moves to the top of the keyword to be searched, keyboard Input # View man Document chapter number +k (SHIFT+K) Man man View document

VIM Command mode cursor movement + find

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.