2 ms·
For my day job, where I'm doing C development, I have my Makefile set to run tests after building, and I set up my tests to print errors in the "file:line: mess
by dllthomas 13y ago
For my day job, where I'm doing C development, I have my Makefile set to run tests after building, and I set up my tests to print errors in the "file:line: message" format vim looks for (with as many hopefully-relevant lines as I can manage).
Key bindings for :make, :cnext, :cprev, and ":make search PATTERN='\<^R^W\>'<Cr>" (where I have a rule in my makefile to grep through project-relevant files) - any build errors or testing errors or search results show up in my quickfix buffer, and I can step through them or :copen and search or filter within the results.