I would like to be able to access the current working directory in my vimrc. For example, I can access the current file by using %.
Specifically, I have the following line in my vimrc: map ,l :!latex %
When it runs everything works fine, except the resulting dvi and other files are stored in my home directory instead of my current working directory.
Any suggestions?