file-line
file-line copied to clipboard
Handle file#L123 printed by some perl's Carp 'croak' + Add ability to define custom regexps
Unfortunately using the file#L123
syntax from within Vim will result in the following error:
E194: No alternate file name to substitute for '#'
I haven't found a solution yet, but the syntax works from the command line:
$ vim file#L123
For Zsh users the #
needs to be escaped to bypass globing:
$ vim file#L123
zsh: no matches found: file#L123
$ vim file\#L123 : works