Examples (7)
Open a file
ex path/to/fileSave and Quit
wq<Enter>Undo the last operation
undo<Enter>Search for a pattern in the file
/search_pattern<Enter>Perform a `regex` substitution in the whole file
%s/regex/replacement/g<Enter>Insert text
i<Enter>text<Ctrl c>Switch to Vim
visual<Enter>made by @shridhargupta | data from tldr-pages