diff --git a/articles/vi.md b/articles/vi.md index 3959648..71d68d1 100644 --- a/articles/vi.md +++ b/articles/vi.md @@ -40,14 +40,14 @@ Commands that work with registers use by default an anonymous registers if none - (c,i) `Ctrl-n`: move to the next item in the completion menu - (c,i) `Ctrl-p`: move to the previous item in the completion menu - (c,i) `Ctrl-y`: confirm current selection -- (i): `Ctrl-o`: temporarily exit insert mode to normal mode; goes back to insert mode after +- (i) `Ctrl-o`: temporarily exit insert mode to normal mode; goes back to insert mode after a command or normal mode binding was executed. -- (n): `Ctrl-e`: scroll a line forward -- (n): `Ctrl-y`: scroll a line backwards -- (n): `Ctrl-f`: scroll a page **f**orward -- (n): `Ctrl-b`: scroll a page **b**ackwards -- (n): `Ctrl-o`: moves to previous position -- (n): `Ctrl-i`: moves to next position +- (n) `Ctrl-e`: scroll a line forward +- (n) `Ctrl-y`: scroll a line backwards +- (n) `Ctrl-f`: scroll a page **f**orward +- (n) `Ctrl-b`: scroll a page **b**ackwards +- (n) `Ctrl-o`: moves to previous position +- (n) `Ctrl-i`: moves to next position - (n) `d`: delete [works with registers, prefix count, movement] - `dd`: delete current line - `"add`: delete current line to the register `a` @@ -65,7 +65,7 @@ a command or normal mode binding was executed. - `"ap`: paste from `a` register - `4p`: paste from anonymous register 4 times - `"a4p`: paste from `a` register 4 times -- (n): `P`: paste before cursor [works with registers, prefix count, movement] +- (n) `P`: paste before cursor [works with registers, prefix count, movement] - (n) `r`: Replace a single character under the cursor - (n) `x`: Delete character under the cursor [works with registers, prefix count] - `2x`: delete two characters