Friday, December 4, 2020

Re: Converting a commandline on the fly...

On 2020-12-04, tuxic wrote:
> Hi,
>
> sorry...the subject is somehow weird...
>
> When compiling things containing error the compiler spits out
> someting like:
>
> ERROR: Using Freedom() before declaration. File ../source/People.c:12:5
>
> where 12 is the line number and 5 the olumn where the error is
> detected by the compiler.
>
> Vim would understand a commandline like this
> vim ../source/People.c +12
>
> Is there any way to convert a commandline (created by cut'n'paste in
> the terminal)
>
> vim ../source/People.c:12:5
>
> inside vim that way, that vim interpretes the :12 as a line number and
> :5 as column number that way that it is no longer needed to reedit
> the commandline given above after cut'n'paste?

Try the vim-fetch plugin, from either of these sites:

https://www.vim.org/scripts/script.php?script_id=5089
https://github.com/wsdjeg/vim-fetch

Note that the VimBall archive seems not to have been built properly,
so you may have to move some of the installed files around.

Regards,
Gary

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20201204183143.GA3161%40phoenix.

No comments:

Post a Comment