Skip to content

Instantly share code, notes, and snippets.

@zackshen
Created July 8, 2014 09:04
Show Gist options
  • Save zackshen/8f4d9743724608e56c28 to your computer and use it in GitHub Desktop.
Save zackshen/8f4d9743724608e56c28 to your computer and use it in GitHub Desktop.

Revisions

  1. zackshen created this gist Jul 8, 2014.
    7 changes: 7 additions & 0 deletions vim-fast-delete
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    # Vim快速选中、删除、复制引号或括号中的内容

    以下命令可以对标点内的内容进行操作。
    ci'、ci"、ci(、ci[、ci{、ci< - 分别更改这些配对标点符号中的文本内容
    di'、di"、di(或dib、di[、di{或diB、di< - 分别删除这些配对标点符号中的文本内容
    yi'、yi"、yi(、yi[、yi{、yi< - 分别复制这些配对标点符号中的文本内容
    vi'、vi"、vi(、vi[、vi{、vi< - 分别选中这些配对标点符号中的文本内容