Fix macro recording in Vim