Vim (Vi IMproved), a command-line text editor, provides several modes for different kinds of text manipulation. Pressing
i
enters edit mode.<Esc>
goes back to normal mode, which doesn't allow regular text insertion. More information: https://www.vim.org.
vim {{path/to/file}}
:help<Enter>
:write<Enter>
:quit!<Enter>
vim +{{line_number}} {{path/to/file}}
u
n
/N
to go to next/previous match):/{{search_pattern}}<Enter>
:%s/{{pattern}}/{{replacement}}/g<Enter>