Last Updated: February 25, 2016
·
555
· a-b

Vim jump to the line

Usually you're getting exception something like

Error at some_path/file.ext:123

always good to jump right to this line with vim you can run ex mode command after + sign from the command line so

vim some_path/file.ext +123

land you in right place cheers!

Also you can run multiple commands like

vim some_path/file.ext +'command1 | command2' 

echo "foo\nzee" | vim - +"%s/foo/bar/g|2"