From ea9dedd0fb2d5c08dd09eb98474d3e844fc60daf Mon Sep 17 00:00:00 2001 From: LAN-TW Date: Sun, 20 Nov 2011 21:39:44 +0800 Subject: bash_include: 產生 screen ACL 設定檔、文字轉 HTML | vimrc: 錯誤訊息放家目錄 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vimrc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'vimrc') diff --git a/vimrc b/vimrc index cca6b61..6c4af1c 100644 --- a/vimrc +++ b/vimrc @@ -1,5 +1,5 @@ -let $ERRFILE="/tmp/f8fe1f28-6e6e-11e0-b22e-000c760ae4c6.err" -let $CFLAGS="-Wall -pipe" +let $ERRFILE="/tmp/fc0edaa9-1383-11e1-8659-000c760ae4c6.err" +let $CFLAGS="-Wall -pipe -g" let $LDFLAGS="" set bs=2 set ls=2 @@ -17,11 +17,11 @@ highlight Search term=reverse ctermbg=4 ctermfg=7 function! SingleCompile() let file_suffix = expand("%:e") if file_suffix == "c" - !gcc ${CFLAGS} %:p:. -o %:r ${LDFLAGS} 2>&1 | tee ${ERRFILE} - cg ${ERRFILE} + !gcc ${CFLAGS} %:p:. -o %:r ${LDFLAGS} 2>&1 | tee ${HOME}${ERRFILE} + cg ${HOME}${ERRFILE} elseif file_suffix == "cpp" - !g++ ${CFLAGS} %:p:. -o %:r ${LDFLAGS} 2>&1 | tee ${ERRFILE} - cg ${ERRFILE} + !g++ ${CFLAGS} %:p:. -o %:r ${LDFLAGS} 2>&1 | tee ${HOME}${ERRFILE} + cg ${HOME}${ERRFILE} else echo "This file has an UNKNOWN SUFFIX!" endif -- cgit