macvim配置以及简单介绍

shell下输入命令:vimtutor  查看帮助
或者vim中 :help

查看keycodes

:keycodes

 

                                        *key-notation* *key-codes* *keycodes*
These names for keys are used in the documentation.  They can also be used
with the ":map" command (insert the key name by pressing CTRL-K and then the
key you want the name for).

notation        meaning             equivalent  decimal value(s)        ~
-----------------------------------------------------------------------
<Nul>           zero                    CTRL-@    0 (stored as 10) *<Nul>*
<BS>            backspace               CTRL-H    8     *backspace*
<Tab>           tab                     CTRL-I    9     *tab* *Tab*
                                                        *linefeed*
<NL>            linefeed                CTRL-J   10 (used for <Nul>)
<FF>            formfeed                CTRL-L   12     *formfeed*
<CR>            carriage return         CTRL-M   13     *carriage-return*
<Return>        same as <CR>                            *<Return>*
<Enter>         same as <CR>                            *<Enter>*
<Esc>           escape                  CTRL-[   27     *escape* *<Esc>*
<Space>         space                            32     *space*
<lt>            less-than               <        60     *<lt>*
<Bslash>        backslash               \        92     *backslash* *<Bslash>*



   ** To move the cursor, press the h,j,k,l keys as indicated. **
             ^
             k              Hint:  The h key is at the left and moves left.
       < h       l >               The l key is at the right and moves right.
             j                     The j key looks like a down arrow.
             v



删除单个字符:x
删除一行字符:dd
两行合并成一行:j
撤销命令:u
insert :i
另起一行insert:o(大写0相反效果)
该命令保存当前文件并退出Vim: ZZ
放弃编辑:q!
查看关于某个特殊主题的帮助 help {subject}
如果你找不到你的vimrc的具体名字和位置, 使用这个命令:
:scriptnames
ex command
等等命令  。。。。。

配置:

winmanager:
http://www.vim.org/scripts/script.php?script_id=95
效果图:

 

 

 

你可能感兴趣的:(vim)