Vi cheatsheet
Sun Feb 24, 2019 · 69 words

Navigation

hjkl: left/up/down/right

gg: move to the start of the file

Shift+g: move to the end of file

w: move to the start of the next word

Shift+e: move to the end of the next work

Actions

Esc: Switch to visual mode

Text Edit

i: Start Editing

dd: Delete line

Commands

help: show vi documentation

/word: will search for occurences of “word” in the document

!wq: Save and exit


back · articles · who is this? · main