In Vim is there more than one way to leave insert mode?

后端 未结 5 1218
抹茶落季
抹茶落季 2021-02-05 11:44

There are several commands that do something and then enter insert mode. Are there also commands that leave insert mode and do things?

For example, I frequently do this.

5条回答
  •  猫巷女王i
    2021-02-05 12:12

    The only one I can think of is c-o, which lets you run one command in normal mode then drops you back into insert mode.

    For example, a~b would result in Ab.

提交回复
热议问题