Closed snoblenet closed 5 years ago
Do all these cases work with Vim? If so, it should be changed, of course.
If you just want to get it done, remember that +
merely executes commands (:99
in Vim takes you to line 99). So, in the meanwhile, you could use nvr -c 99 -O path/to/file.js
.
These work as expected but neither combines the two features I need to use together:
nvr -O path/to/file.js
: opens the file in a vsplit at the first line as expectednvr +99 path/to/file.js
: opens the file in an existing window at line 99 as expectedOne of these should do what I need, but none of them work:
nvr -O +99 path/to/file.js
: opens the file in a vsplit as expected, but does not take you to line 99nvr -O path/to/file.js +99
: opens the file in a vsplit as expected, but does not take you to line 99; also opens a new empty file called+99
nvr +99 path/to/file.js -O
: throws anexpected at least one argument
errorThoughts?