Everything I ever needed from vi/vim are here
vi /path/to/file.txt
Once inside, use shift+i to insert or edit text Press esc to exit :q :q! :w :wq are common options after esc
Once inside vi, press esc and use the '/' character prefix. Example:
/checkpoint_completion_target