美文网首页Lives Like Vim
vim 插件说明集合

vim 插件说明集合

作者: xqiugen | 来源:发表于2013-06-29 18:16 被阅读254次

    Tabularize 对齐插件,将文本每一行按某个符号对齐

    1 #11111111111111
    2 ¦ ¦ #33333333333333
    3 #,,,,,3

    :Tabularize /#

    1 ¦ ¦ # 11111111111111
    2 ¦ ¦ # 33333333333333
    3 ¦ ¦ # ,,,,,3

    NERD-Tree插件
    在文件的右侧显示文件树。

    2.3. NERD tree Mappings NERDTreeMappings

    Default Description~ help-tag~
    Key~

    o.......打开文件目录或者书签....................|NERDTree-o|
    go......打开文件,但是光标仍然停留在左侧.....|NERDTree-go|
    t.......在新的窗口打开节点或者书签.................|NERDTree-t|
    T....... 和t一样,但是光标仍然停留在左侧文件树.......|NERDTree-T|
    i.......在水平的分割窗口中打开....................|NERDTree-i|
    gi......和i一样,但保持光标..........|NERDTree-gi|
    s.......在垂直分割窗口中打开.......................|NERDTree-s|
    gs......和s一样,但是保持光标..........|NERDTree-gs|
    O.......打开文件夹包括所有子文件夹..................|NERDTree-O|
    o.......打开文件夹.................|NERDTree-O|
    x.......把父文件夹关闭...........................|NERDTree-x|
    X.......同x,保持光标.......|NERDTree-X|
    e....... 编辑当前文件树.....................................|NERDTree-e|

    <CR|回车>...............等同于 |NERDTree-o|.

    D.......Delete the current bookmark .............................|NERDTree-D|

    P.......Jump to the root node....................................|NERDTree-P|
    p.......Jump to current nodes parent.............................|NERDTree-p|
    K.......Jump up inside directories at the current tree depth.....|NERDTree-K|
    J.......Jump down inside directories at the current tree depth...|NERDTree-J|
    <C-J>...Jump down to the next sibling of the current directory...|NERDTree-C-J|
    <C-K>...Jump up to the previous sibling of the current directory.|NERDTree-C-K|

    C.......Change the tree root to the selected dir.................|NERDTree-C|
    u.......Move the tree root up one directory......................|NERDTree-u|
    U.......Same as 'u' except the old root node is left open........|NERDTree-U|
    r.......Recursively refresh the current directory................|NERDTree-r|
    R.......Recursively refresh the current root.....................|NERDTree-R|
    m.......Display the NERD tree menu...............................|NERDTree-m|
    cd......Change the CWD to the dir of the selected node...........|NERDTree-cd|

    I.......Toggle whether hidden files displayed....................|NERDTree-I|
    f.......Toggle whether the file filters are used.................|NERDTree-f|
    F.......Toggle whether files are displayed.......................|NERDTree-F|
    B.......Toggle whether the bookmark table is displayed...........|NERDTree-B|

    q......关闭 NERDTree 窗口................................|NERDTree-q|
    A.......Zoom (maximize/minimize) the NERDTree window.............|NERDTree-A|
    ?.......Toggle the display of the quick help.....................|NERDTree-?|

    相关文章

      网友评论

        本文标题:vim 插件说明集合

        本文链接:https://www.haomeiwen.com/subject/tnwxtttx.html