I'm entirely new to learning how to use Vim editor...; so,...?! As I heard it said there 3 Linux editors: nano, v, vim (v improved).
Commands
vim, at the CLI opens vim editor (without any pre-loaded file)
:i, means you enter into INSERT/text editing mode
[ESC], allows you to quit being in INSERT mode
:help, brings up the help file
:q, quit being in editing mode
:qa!, quit lose any changes
:qw, means you are quitting/and, also, writing the file
:wa, save the file
Page created: Thu 14 Oct 2021 22:12 PM GMT
Last updated: Fri 15 Oct 2021 00:49 AM GMT
As I understand it...if you save a file with a programming extension...such as, [.sh]/[.py]/[.html]...then, Vim will instantly add code syntax colours, as well.