I'm working on Open::This, which provides a command line utility that acts as a wrapper around
nano. The utility is called
ot. It does things like translating
ot lib/Foo/Bar.pm:99 into
vim +99 lib/Foo/Bar.pm.
What I'd like to be able to do is translate
ot lib/Foo/Bar.pm:99:50 into a
vim command which will open
lib/Foo/Bar.pm at line 99 and column 50. Is this possible to do without using a
To sum up, I know the command line syntax to open a file at an arbitrary line. Is it possible to do this and move the cursor to an arbitrary column at the same time?