Vim config now detects which host it is running on and runs make with the legacay config on hefaistos

This commit is contained in:
Dreaded_X 2015-08-29 21:55:02 +02:00
parent b9250e2244
commit ed19b7e164

View File

@ -91,8 +91,13 @@ map <S-J> 10j
map <S-K> 10k
" map <silent> <F9> :make<cr>:cw<cr>
map <F9> :Make<cr>
map <F10> :Make debug<cr>
if $HOST != "hefaistos"
map <F9> :Make<cr>
map <F10> :Make debug<cr>
else
map <F9> :Make CONFIG=legacy<cr>
map <F10> :Make CONFIG=legacy debug<cr>
endif
map <F12> :!ctags -R --c++-kinds=+p --fields=+iaS --extra=+q .<CR>
map <silent> <F4> :call ToggleQuickfixList()<cr>