Skip to content

Instantly share code, notes, and snippets.

@martinos
Created March 27, 2015 18:58
Show Gist options
  • Save martinos/fb554026012e6ce7e313 to your computer and use it in GitHub Desktop.
Save martinos/fb554026012e6ce7e313 to your computer and use it in GitHub Desktop.
set makeprg=ruby\ -I\ lib:test:spec\ %
map <Leader>t :w<CR>:silent !clear<CR> :make! %<CR>
@cawel
Copy link

cawel commented Mar 28, 2015

I'm trying to have the errors shown in the quickfix window, but I can't. Even if I simply run a make | cwindow command in vim, it does not work: it still outputs the errors in the console (and the cwindow is never opened).

And that did not work for me either :(

Could you tell me what you have in your .vimrc file to have that behavior?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment