美文网首页
Vim笔记20150401

Vim笔记20150401

作者: 咸味奥利奥 | 来源:发表于2015-04-02 14:25 被阅读0次

    几个有用的命令:

    o -- new line and edit

    s -- substitute

    caw -- change a word

    daw -- delete a word

    b -- back {a word}

    <C-a><C-x> -- add/subtract 1(or number) from number

    f -- find char     ; -- find next char

    * -- find word under current position

    n/N -- next/previous

    gU/gu -- change to upper case/lower case

    zz -- centers view

    In edit mode:

    <C-r> -- paste from buffer

    <C-r>= -- add some number to position 

    相关文章

      网友评论

          本文标题:Vim笔记20150401

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