Reputation: 2037
I'm trying to start vim from command line and have it jump to a certain place in the file and run <c-c>g
to trigger goto_definition in python-mode.
So far running vim filename "+call cursor(x, y)"
does at least get me to the position I want, but now how do I run <c-c>g
afterwards?
If I try vim % "+call cursor(x, y)" -c "normal! <c-c>g"
I get a "not an editor command" error
Upvotes: 0
Views: 82