我在Vim中编写代码,而不是IDE。 我的源代码通常嵌套2-3个目录深。Vim:e起始目录?
~/foo$ find
xyz
bar/abc
bar/def
~/foo$ vim
// inside of vim
:e bar/abc
... some work ...
:e <-- is there a way I can have this :e start in ~/foo/bar instead of ~/foo ?
基本上,我想:电子启动目录
感谢“上次编辑文件的路径名”!
这正是我正在寻找的答案。 – anon 2010-01-31 17:32:59