Updated: February 12, 2023
To install vim:
sudo apt install vim
You can add or modify the .vimrc file in your home directory. My ".vimrc" file is:
set showmode
set number
set shiftwidth=3
set expandtab
set autoindent
set wrap
set linebreak
set mouse=a
filetype plugin indent on
let g:html_indent_inctags="html,head,body,style"
syntax on