Vi keys
i: insert before cursor
I: insert before line
a: append after cursor
A: append after line
$: goto end of line
0: goto start of line
yy: copy line
p: paste
dd: delete line
Referencias
Mac app force quit
CMD + ALT + ESC