Switching from TextMate to Vim, I'd like to have Vim launched and opening a specific folder at startup on MacOS?
Manually I can start Vim from the shell with
mvim someFolder. I use MacOS 10.6 and NERDTree.
Reading and trying to apply the proposed answers (thanks by the way) I realize I was probably not clear enough in my question:
I want MacVim automatically launched at startup, and with opening a specific folder of mine. Later on during my MacOS session, if for any reason I open anew MacVim, I don't want it to open this specific folder, I want the MacVim default behavior.
I could do that with TextMate by going to MacOS System Preference, Accounts, Login Items and adding here my TextMate project file. As this project file was associated with TextMate, it was enough to have TextMate automatically launched at startup and displaying this project files list.
Is there a way to achieve this with Vim?