Open files in existing Gvim in multiple (new) tabs

前端 未结 6 1903
耶瑟儿~
耶瑟儿~ 2020-12-12 10:47

I have put some aliases in my .bashrc to open a group of project files in gvim, each in their own tab:

gvim -p 

        
6条回答
  •  执笔经年
    2020-12-12 11:32

    There is a way:

    n*.cpp|tab ba
    

    or if you like to split:

    n*.cpp|sba
    

    If you wish to know more:

    :help ba
    

    and I don't know what is n , but it would not work without it.

提交回复
热议问题