Reputation: 1573
Currently it's C:\Windows\System32
which is pretty impractical. I know that you can change the current directory with :cd [directory]
, but is there any way to change the default save location for new files without having to change directories all the time?
Upvotes: 4
Views: 5652
Reputation: 3733
I am not at Windows so I cannot find the exact menu names and such, but if I recall correctly the easiest way to go about it is:
Properties
, Upvotes: 5
Reputation: 15767
You can change Vim's current working directory with the :cd command. See
:help :cd
.
If you want Vim to always start in a particular directory, you can
put the :cd command in your ~/_vimrc file.
If you want Vim to use
the parent directory of the file you are editing as its current
working directory, you can put this setting in your ~/_vimrc file:
.
set autochdir
See
:help 'autochdir'
Upvotes: 4