Vim Scriptout and Scriptin

Today I discovered these two Vim flags: vim -w log.txt file vim -s log.txt file The -w flag sends all keystrokes in your session to log.txt . The -s loads Vim and replays all the keystroke back onto that file.