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"
Written by Alexander Berezovsky
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Shell
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#