bogado / file-line

Plugin for vim to enabling opening a file in a given line
http://www.vim.org/scripts/script.php?script_id=2184
299 stars 61 forks source link

-p broken #53

Open lacombar opened 9 years ago

lacombar commented 9 years ago

When using the following command:

% vim -p foo:10 bar:20

Only foo is opened.

lacombar commented 9 years ago

Might be related to this: https://code.google.com/p/vim/issues/detail?id=293

bogado commented 8 years ago

Yes that's definitely related to that. :+1: nice finding, too bad it don't have a solution.

lacombar commented 8 years ago

FYI, I rewrote most of the script to fit my need, cf https://github.com/lacombar/vim-file-line/commit/63d6914316ac48217abdee924c7db553f4380d76

Btw, I know, the commit message is really vague. I'm not sure if all the stuff I changed make sense ...

bogado commented 8 years ago

I was looking in the documentation and the strategy of rewriting the arguments is not a good one.