Shortcut to open file in Vim

前端 未结 19 880
误落风尘
误落风尘 2020-12-22 16:30

I want to open a file in Vim like in Eclipse using Ctrl + Shift + R, or via the Ctrl + N option of autofill. Invoke a

19条回答
  •  隐瞒了意图╮
    2020-12-22 17:11

    :find is another option.

    I open vim from the root of my project and have the path set to there.

    Then, I can open files located anywhere in the tree using:

    :find **/filena< tab >
    

    Tab will autocomplete through various matches. (** tells it to search recursively through the path).

提交回复
热议问题