@lordkhan @ids1024 when in doubt always ESC + :q!
Maybe someone already mentioned the joke in the thread, vi is the best editor... I have never managed to get out of it.