When I gvim a file from gnome, gvim’s working directory is always my home directory. That is not what I want. It is inconvenient for :vi , :r and :w something.else . Is there a way to automatically cause gvim’s current directory to be the directory of the edited file?
I am aware of workarounds involving the command line. I am aware of gedit. I am looking for a way to give gvim the correct working directory. Is this a gnome thing?