Cygwin 上の vim で VisualStudio ソリューションをビルドする
ビルドしてクイックフィックスしたいのでスクリプトを書いてみた。
#!/bin/bash if [ "$2" == "" ]; then configuration=Debug else configuration="$2" fi ~/bin/devenv $1 /build $configuration | sed -e 's@c:\\@/cygdrive/c/@' -e 's@\\@/@g' -e 's@(\([0-9]\+\)) @:\1@' | /usr/bin/grep --binary-files=text ^/cygdrive | tee out
gvim からビルドするならこちらのコンパイラプラグインで十分かもしれない。
http://www.vim.org/scripts/script.php?script_id=524