Reputation: 75649
I have tried both of the following without success.
tabnew Foo.java +30
tabnew Foo.java:30
The first one gives an error message, while Vim opens interprets the whole string as a filename in the second case.
Upvotes: 5
Views: 131
Reputation: 98118
You need to reverse the arguments a bit, try this:
tabnew +30 Foo.java
Upvotes: 8