I want to execute a command automatically after cd'ing to a new directory from within vim. For example, I open gvim and run:
:cd ~/src/player
I would like vim at this point to automatically source a file that is in that directory.
Is this possible?