How can I open several files at once in Vim?

后端 未结 6 1025
渐次进展
渐次进展 2021-01-30 07:55

Is there a way to open all the files in a directory from within Vim? So a :command that would say in effect \"Open all the files under /some/path into

6条回答
  •  孤城傲影
    2021-01-30 08:47

    Why it doesn't work if I want to open all files ending with a certain extension? I tried

    :n ./**.cs
    

    and opens only the files in the currenty directory.

    I found the answer.The correct code is :n **/*.cs

    For more information :h find

提交回复
热议问题