How can I open several files at once in Vim?

后端 未结 6 1036
渐次进展
渐次进展 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:33

    Did you try

    :n /some/path/*
    

    It will open all files in /some/path

    I don't think it'll open file recursively though.

    EDIT

    Maybe using ** will open recursively as daf mentionned

提交回复
热议问题