Created
November 20, 2015 03:02
-
-
Save tgittos/ee5de4f994899603c637 to your computer and use it in GitHub Desktop.
Compiling in vim using build.bat
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function! s:build() | |
let &makeprg='build' | |
silent make | |
botright copen | |
wincmd p | |
endfunction | |
command! Build call s:build() | |
set switchbuf=useopen,split | |
nnoremap <silent> <F8> :Build<CR> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment