目前它是C:\Windows\System32
这是非常不切实际的。我知道您可以使用:cd [directory]
更改当前目录,但有没有办法更改新文件的默认保存位置而无需一直更改目录?
答案 0 :(得分:3)
我不在Windows,因此无法找到确切的菜单名称,但如果我没记错,最简单的方法是:
Properties
,答案 1 :(得分:1)
您可以使用:cd命令更改Vim的当前工作目录。 见
: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
见
:help 'autochdir'