如何退出mac终端中的插入屏幕

kav*_*han 0 git vim terminal

Merge branch 'develop' into peakfront

# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.

"To get updated code in my branch"


-- INSERT --
Run Code Online (Sandbox Code Playgroud)

我输入了这个,但我找不到保存这个并退出的方法,以便我可以在终端上工作.我在这里使用什么命令?

pra*_*ash 15

按esc,然后按冒号(:)然后在键盘wq上输入以保存并退出.

如果你想退出,不保存,写q不用w


小智 6

脚步:

  1. 按 ESC 键
  2. 写:w
  3. 写:q

您的文字已保存:)