solved On Tue, 16 Jun 2015, Michael Hennebry wrote: > Is there a way to automatically cause gvim's current > directory to be the directory of the edited file? Searching on "working directory" worked better than searching on "current directory" In my ~/.vimrc file: command CDC cd %:p:h :CDC will do what I want. I found it here: http://vim.wikia.com/wiki/Set_working_directory_to_the_current_file -- Michael hennebry at web.cs.ndsu.NoDak.edu "SCSI is NOT magic. There are *fundamental technical reasons* why it is necessary to sacrifice a young goat to your SCSI chain now and then." -- John Woods