Open file at Vim startup

Viewed 1277

I like to have Vim open a cheatsheet at startup. Adding this to _vimrc works nicely with MacVim:

:e *path-to-cheatsheet*

but on Windows, vim displays a message box at startup:

"~\Dropbox\vimfiles\myvim\vimcheat.txt"
"~\Dropbox\vimfiles\myvim\vimcheat.txt" [unix] 52L, 1735C

When the message box is dismissed, Vim completes startup and opens the cheatsheet. How do I get this to work cleanly with Windows Vim?

1 Answers
Related