You can force Ved to move the cursor to a specific line number after loading a file with the ``+nn'' notation. For example:
ved +22 myfile
will load the specified file and move the cursor to line 22. If the line number is out of range the cursor will be placed on the first line.
You can use this notation with multiple files:
ved +22 file1 +33 file2 +2 file3
The effect of the line number specification is only valid for the filename immediately following it. So:
ved +22 file1 file2
would place the cursor on line 22 in the first file, at at line 1 in the second.
In addition, you can specify a column offset by appending a single ``:'' to the line number followed by the column number:
ved +22:10 myfile
Would position the cursor on line 22, column 10. If there are less than 10 columns on the line, the last column will be used.