Move to the last line and select the lines by SHIFT-v
Align the lines to have 4 spaces in the left by entering :'<,'>left 4 (You may need enable ":set expandtab" to insert tab by spaces.)
Undo & Redo
Undo
u
Redo
CTRL-r
New Window & Split Window
New window
:new
Switch between windows
CTRL-w CTRL-w
CTRL-w h (or j, k, l)
Split horizontal window
CTRL-w s
Split vertical window
CTRL-w v
Close a window
:q
Close other windows
CTRL-w o
Display
Display line number
:set number
Set tab stop
:set tabstop=4
Insert space to tab
:set expandtab (reversely, :set noexpandtab)
Highlight cursor line and column
:set cursorline
:set cursorcolumn
Folding with marker
:set foldenable
:set foldmethod=marker
:set foldmarker={{{,}}}
(Then you can wrap the sections with {{{ and }}} to create folders and sub-folders. You can add comments after {{{ to add the folder comment)
Close a folder by zc
Open a folder by zo