Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我尝试了以下两种方法均未成功。
tabnew Foo.java +30 tabnew Foo.java:30
第一个给出错误消息,而 Vim 在第二种情况下打开时将整个字符串解释为文件名。
你需要稍微颠倒一下参数,试试这个:
tabnew +30 Foo.java