選取要使用的自動指令群組
:augroup
範例
一般模式 0 / 2命令列模式 1 / 2一般模式 2 / 2選取要使用的自動指令群組。
範例自動指令
[沒有 ExampleGroup]
範例自動指令群組
[沒有 ExampleGroup]
範例變數
- g:exampleCount
0
指令已輸入。按 Enter 執行。
範例自動指令
[沒有 ExampleGroup]
範例自動指令群組
[沒有 ExampleGroup]
範例變數
- g:exampleCount
0
指令已執行
範例自動指令
--- Autocommands ---
範例自動指令群組
ExampleGroup 存在
範例變數
- g:exampleCount
0
操作前後
操作前
範例自動指令
[沒有 ExampleGroup]
範例自動指令群組
[沒有 ExampleGroup]
範例變數
- g:exampleCount
0
操作後
範例自動指令
--- Autocommands ---
範例自動指令群組
ExampleGroup 存在
範例變數
- g:exampleCount
0
從一般模式開始。
one two
three four
five six
keep游標位於第 1 行,第 1 欄