tags:

views:

53

answers:

1

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?

+5  A: 

One way to do that would be:

vim "+call cursor(<LINE>, <COLUMN>)"

For completeness this is another way:

vim "+normal <LINE>G<COLUMN>|"
Peter van der Heijden
Great. Thank you!
Fab
+1 for `call cursor`
jeffjose