I personally have written github.com/MarcWeber/vim-addon-actions for that. Make sure to read its documentation, it also contains a list of related work:
SingleCompile : Let user compile or run a single source file conveniently http://www.vim.org/scripts/script.php?script_id=3115 Quickrun: http://www.vim.org/scripts/script.php?script_id=3146 http://github.com/thinca/vim-quickrun/blob/master/plugin/quickrun.vim Compile: http://www.vim.org/scripts/script.php?script_id=3462 There may be more, try vim.org/search.php In the end they all do the same: write a file, set error format, load using cfile or the like. :compiler perl is the standard vim way. > :make :make > file.err is what you're looking for. > Then :copen opens the Quickfix List window, where i can read the list of my > (intentional) compilation errors. Yes, it opens the quickfix window, but does not load the error list, see cfile. > E40 : Can't open error file error.err Don't understand this. Must be a Vim default I never cared about. Marc Weber -- 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
