My new dotfiles configuration on newly reinstalled MacBook Pro M1.
Undo: u Redo: Ctrl r
Left: h Down: j Up: k Right: l
Next word: w Previous word: b
End of line: $ Start of line: ^
First line in document: H Last line in document: G
Insert before cursor: i Insert at start of line: I Insert after cursor: a Insert at end of line: A Add new line below cursor: o Add new line above cursor: O Replace single character: r Replace line: cc Replace to end of word: cw Replace to end of line: c$ Substitute character: s Subsitute line: S
Yank/copy: y Yank line: yy Yank word: yw Yank to end of line: y$
Paste after cursor: p Paste before cursor: P
Delete/cut a line: dd Delete a word: dw Delete to end of line: D Delete character: x
Enter visual mode: v Enter linewice visual mode: V Shift text left: < Shift text right: > Shift left by shiftwidth: << Shift right by shiftwidth: >> Auto-indent line: ==
Save and quit: ZZ Quit without saving: ZQ Write/save: :w Quit: :q Write and quit: :wq Write and quit: :x Force quit without save: :q! Quit all vim buffers: :qa