vim 使用 cscope 的 prepend path? - Linux

By Catherine
at 2011-06-10T16:58
at 2011-06-10T16:58
Table of Contents
請教一下,我在 vim 裏面使用 cscope 時在 command mode 裏面執行
:cs add cscope.out /home/joseph/test
後面的 /home/joseph/test 是他的 prepend path,也是我現在的 directory,
我希望不要寫死,所以我嘗試了:
:cs add cscope.out $PWD
:cs add cscope.out pwd
等等類似的方式想要把變數放在後面,但是總是會報錯,
不知道要怎麼下指令才是正確的,感謝感謝!
--
:cs add cscope.out /home/joseph/test
後面的 /home/joseph/test 是他的 prepend path,也是我現在的 directory,
我希望不要寫死,所以我嘗試了:
:cs add cscope.out $PWD
:cs add cscope.out pwd
等等類似的方式想要把變數放在後面,但是總是會報錯,
不知道要怎麼下指令才是正確的,感謝感謝!
--
Tags:
Linux
All Comments

By Callum
at 2011-06-13T05:11
at 2011-06-13T05:11

By Elizabeth
at 2011-06-18T01:02
at 2011-06-18T01:02

By Blanche
at 2011-06-18T22:50
at 2011-06-18T22:50

By Bennie
at 2011-06-23T03:53
at 2011-06-23T03:53
Related Posts
沒有DNS,能寄信嗎?

By Delia
at 2011-06-10T10:22
at 2011-06-10T10:22
使用postfix寄信能支援php變數

By Liam
at 2011-06-09T21:46
at 2011-06-09T21:46
unbuntu與win7 雙系統..

By Eartha
at 2011-06-09T20:34
at 2011-06-09T20:34
沒有DNS,能寄信嗎?

By Odelette
at 2011-06-09T19:23
at 2011-06-09T19:23
Mageia ADSL連線問題

By Rachel
at 2011-06-09T15:23
at 2011-06-09T15:23