Look up the errorformat option. You can specify the format in which the compiler returns messages so Vim can understand it.
-- Salman On Fri, Dec 4, 2020, 01:34 <[email protected]> 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? > > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/vim_use/20201204063358.paecuwjb42g7h6oy%40solfire > . > -- -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CANuxnEcZsYtz6XbGb0vN-Qvdk_9hgCW1PVSiO5V3biMh_3rESQ%40mail.gmail.com.
