To start at a specific line I would use:
$ vim FILE +LINE
But what parameter needs to be passed to vim to position the cursor in a certain column of this line?
One way to do that would be:
vim "+call cursor(<LINE>, <COLUMN>)"
For completeness this is another way:
vim "+normal <LINE>G<COLUMN>|"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With