set undofile " This creates a undo file that persists your undo history when the file gets closed
imap >> <ESC> " Double right arrow to escape from insertion mode. This is faster and more comfortable (at least for me) than to reach for tab key for some people
set clipboard=unnamed " This is bridges between your Vim yanks and your system clipboard
Some people use jj to go to the normal mode. Personally I remapped Caps Lock to Escape in my whole system, so I can go to normal mode easily.
You can yank to the system clipboard by providing appropriate register to yank into. You do that by pressing "* before the yank command (e.g. "*yy to yank the current line).
set undofile " This creates a undo file that persists your undo history when the file gets closed
imap >> <ESC> " Double right arrow to escape from insertion mode. This is faster and more comfortable (at least for me) than to reach for tab key for some people
set clipboard=unnamed " This is bridges between your Vim yanks and your system clipboard