How to set working/current directory in Vim?

前端 未结 6 970
忘掉有多难
忘掉有多难 2020-12-04 09:42

So when I want to create a new file by using the :e command I don\'t want to specify the whole path, just the new filename. Can it be done?

6条回答
  •  我在风中等你
    2020-12-04 10:36

    Also if you are browsing the filesystem with the netrw file explorer you can set the current directory by pressing the c key.

提交回复
热议问题