Thursday, December 3, 2020

Converting a commandline on the fly...

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?

Cheers!
Meino


--
--
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/20201204063358.paecuwjb42g7h6oy%40solfire.

No comments:

Post a Comment