Help

help:help帮助
Move aroundUse the cursor keys,or h to go left,j to go down,k to go up,l to go right.移动光标
Close this windowUse :q<Enter>关闭帮助窗口
Get out of VimUse :qa!<Enter>(careful, all change are lost!)退出vim
Jump to a subjectPosition the cursor on a tag (e.g. bars) and hit CTRL-].跳到 bars 节
Jump to a subject with the mouse:set mouse=a to enablethe mouse (in xterm or GUN). Double-click the left mouse button on a tag, e.g. bars.使用鼠标左键双击跳转到bars节
Jump backType CTRL-O. Repeat to go further back.返回上一节

Get specific help

It is possible to go directly to whatever you want help on,by giving an argument to the :help command.Prepend something to specify the context: help-context. See help-summary for more contexts and an explanation.

WHATPREPENDEXAMPLE
Normal mode command:help x
Visual mode commandv_:help v_u
Insert mode commandi_:help i_<Esc>
Command-line command::help :quit
Command-line editingc_:help c_<Del>
Vim command argument-:help -r
Option':help 'textwidth'
Regular expression/:help /[

Search for help

Type :help word, then hit CTRL-D to see matching help entries for “word”. Or use :helpgrep word.:helpgrep

Getting started

Do the Vim tutor, a 30-minute interactive course for the basic commands,see vimtutor.Read the user manual form start to end:usr_01.

Tags: