How do I make vim open all files matching a pattern in different tabs?

后端 未结 4 735
没有蜡笔的小新
没有蜡笔的小新 2021-01-01 14:11

In a given working directory, if I do

:tabe **/test*.py

vim complains with E77: Too many file names. What if I wa

4条回答
  •  没有蜡笔的小新
    2021-01-01 14:21

    To map it

    nmap  :args **/*.tplexecute 'argdo tabe %'syntax on
    

    But still it displays list of files, you have to press enter few times (depending of number of files).

提交回复
热议问题