file:line VIM plug-in
by Leandro Lucarella on 2009- 10- 10 19:59 (updated on 2009- 10- 10 19:59)- with 0 comment(s)
This VIM script should be part of the official VIM distribution:
When you open a file:line, for instance when copying and pasting from an error from your compiler VIM tries to open a file with a colon in its name. With this little script in your plugins folder if the stuff after the colon is a number and a file exists with the name specified before the colon VIM will open this file and take you to the line you wished in the first place.