我在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