On Wed, May 18, 2011 at 1:08 PM, crabsody <[email protected]> wrote: > Hi Christian! > > No this is probably not what I want. But quickfix is a great feature I > didn't know about. Thank you very much. I will check it out when I > have the time to recompile vim with quickfix option. Well, quickfix seems to be exactly what you need.. you can do a :make and then have all the compile errors in a quickfix window. Clicking on an error will take you to the corresponding file/line.
> Now hat I want is to be able instead of issuing :e +3 main.c to > issue :myfunction main.c:3 Is there any solution to this? Maybe I > should do a script which will substitue main.c:3 with +3 main.c. Is > this easy to do? I don't know how... If you use a autocommand for a file that matches *:[0123456789]* along with functions for scanning entries from the given filename (<afile> or "%"), you will be able to do: :e main.c:22 and open main.c with cursor on line 22. See, :help :au :help scanf -- 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
