Sign up for free to use this document yourself.
  • Normal(ESC)

  • Insert

  • Visual

  • 1. Move

  • 2.Insert

    • i/I:光标前插入/行首插入(不包括行首的空白字符)
    • a/A:光标后插入/行尾插入
    • o/O:下一行插入/上一行插入
    • p:将寄存器的内容粘贴至光标的后面
  • 3.Delete

  • 4.Replace

  • d/D命令

    • D:删除至行尾
      • 3D:从光标删除至第三行的的行尾
    • dd:删除光标所在的整行
      • 2dd:删除两个整行
    • d motion: 操作符 对象
      • dw:从当前光标删除至下一个单词的起始处
      • de:从当前光标删除至单词尾
      • db:从当前光标删除至单词首
      • d0:删除至行首
      • d^:删除至行首(不包括行首的空白字符)
      • d$:删除至行尾
    • d number motion: 操作符 数量 对象
      • daw:删除光标所在的整个单词
      • d2w:从当前光标删除至第二个单词的起始处
      • d3e::从当前光标删除至第三个单词尾
  • x/X命令

    • x:删除光标所在的字符
    • X:删除光标所在的前一个字符
    • number x/X:数量 操作符
      • 2x:删除光标及光标两个字符
      • 4X:删除光标前的4个字符(不包括光标所在的字符)
  • r/R

{"cards":[{"_id":"5ee419aa27e746044e999be0","treeId":"4b17000767764292d2000291","seq":20883674,"position":1,"parentId":null,"content":"# Normal(ESC)"},{"_id":"5ee419aa27e746044e999be1","treeId":"4b17000767764292d2000291","seq":20883675,"position":1,"parentId":"5ee419aa27e746044e999be0","content":"## 1. Move"},{"_id":"5ee419aa27e746044e999be2","treeId":"4b17000767764292d2000291","seq":20883684,"position":2,"parentId":"5ee419aa27e746044e999be0","content":"## 2.Insert\n- `i/I`:光标前插入/行首插入(不包括行首的空白字符)\n- `a/A`:光标后插入/行尾插入\n- `o/O`:下一行插入/上一行插入\n- `p`:将寄存器的内容粘贴至光标的后面"},{"_id":"5ee419aa27e746044e999be3","treeId":"4b17000767764292d2000291","seq":20883677,"position":3,"parentId":"5ee419aa27e746044e999be0","content":"## 3.Delete"},{"_id":"5ee419aa27e746044e999be4","treeId":"4b17000767764292d2000291","seq":20883678,"position":1,"parentId":"5ee419aa27e746044e999be3","content":"### d/D命令\n- `D`:删除至行尾\n - `3D`:从光标删除至第三行的的行尾\n- `dd`:删除光标所在的整行\n - `2dd`:删除两个整行\n- `d motion`: 操作符 对象\n - `dw`:从当前光标删除至下一个单词的起始处\n - `de`:从当前光标删除至单词尾\n - `db`:从当前光标删除至单词首\n - `d0`:删除至行首\n - `d^`:删除至行首(不包括行首的空白字符)\n - `d`$:删除至行尾\n- `d number motion`: 操作符 数量 对象\n - `daw`:删除光标所在的整个单词\n - `d2w`:从当前光标删除至第二个单词的起始处\n - `d3e`::从当前光标删除至第三个单词尾"},{"_id":"5ee419aa27e746044e999be5","treeId":"4b17000767764292d2000291","seq":20883679,"position":2,"parentId":"5ee419aa27e746044e999be3","content":"### x/X命令\n- `x`:删除光标所在的字符\n- `X`:删除光标所在的前一个字符\n- `number x/X`:数量 操作符\n - `2x`:删除光标及光标两个字符\n - `4X`:删除光标前的4个字符(不包括光标所在的字符)"},{"_id":"5ee419aa27e746044e999be6","treeId":"4b17000767764292d2000291","seq":20883680,"position":4,"parentId":"5ee419aa27e746044e999be0","content":"## 4.Replace"},{"_id":"5ee419aa27e746044e999be7","treeId":"4b17000767764292d2000291","seq":20883681,"position":1,"parentId":"5ee419aa27e746044e999be6","content":"### r/R"},{"_id":"5ee419aa27e746044e999be8","treeId":"4b17000767764292d2000291","seq":20883682,"position":2,"parentId":null,"content":"# Insert"},{"_id":"5ee419aa27e746044e999be9","treeId":"4b17000767764292d2000291","seq":20883683,"position":3,"parentId":null,"content":"# Visual"}],"tree":{"_id":"4b17000767764292d2000291","name":"Vim","publicUrl":"vim"}}