Possible Duplicate:
set .vim home directory to something specific
There is already a question about setting a working directory: How to set working/current directory in Vim? However my problem is a little different, I have several thousands files (several different projects) in a folder. Whenever I start Vim (MacVim), the cwd is by default set to home dir. Thus when I'm using plugins like ack.vim they by default are searching in my home dir which is useless. I just want to set it to my /home/user/Code folder (which has all my snippets, projects,etc..)
Is there any settings which sets the cwd to a certain directory? Or any workarounds (like executing :cd /home/user/Code
for every startup in Vim?