From e026410609ba947c896f607602221e53cd223f87 Mon Sep 17 00:00:00 2001 From: Dexter Rualo Date: Sun, 18 Nov 2018 11:51:40 +0800 Subject: [PATCH] fix:update guide vim/useful-commands (#22048) --- guide/english/vim/useful-commands/index.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/guide/english/vim/useful-commands/index.md b/guide/english/vim/useful-commands/index.md index fc191c4273..58b669a867 100644 --- a/guide/english/vim/useful-commands/index.md +++ b/guide/english/vim/useful-commands/index.md @@ -94,6 +94,9 @@ __Undo__: Press `u` or type in `:undo` and press `Enter`. __Redo__: Press `U` (`Shift` + `u`) or type in `:redo` and press `Enter`. +## Repeat last change +To repeat the last change made to a file, press `.` in __Normal Mode__. + ## Opening a file in a specific line - vi filename +n, where n is the line number