2012年8月2日 星期四

exVim

一直以來,都想要讓vim可以取代SourceInsight的目標,
但是一直沒有時間去做。

前一陣子發現同事有使用exVim,
這一個功能跟SourceInsight很類似,
現在暫時先研究如何使用~
之後就可以同時使用exVim與SourceInsight,
最後當然希望可以取代SourceInsight

先使用安裝檔的方式,讓它全部幫你設定完!
我的目標是建立一個portable的方式,
目前因為連操作方式都不熟,
還是先用最簡單的設定方式吧~

exVim主頁
exVim wiki

1. 安裝檔案
直接到exVim主頁選擇Download
選擇install去下載,
這一個安裝會全部的設定幫你設定好。

2. 建立一個Project的vimentry
到Project的根目錄資料夾,
點選右鍵,新增exvim vimentry file
新增完成之後,
直接點選這個檔案,
就可以開啟這一個視窗了

3. 掃描所有的檔案
當開啟新增的exvim vimentry file之後,
直接按\R

之後,直接點剛剛新增的vimentry的檔案,
就可以開啟這一個Project了

而以後若要重新掃描整個檔案的話,
則在指令列輸入
:Up[date] tag
:Up[date] symbol

4. 尋找tag
可以直接在目前鼠標的位置,按\]
或是在指令列輸入
:TS <tag-name>

When you are in tag select-window, you can press <enter> to jump to the definition, meanwhile the exTagSelect will record the position to the exJumpStack, you can use <leader>tt to check your stack result. And use <leader>tf, <leader>tb to move backward and forward from the next/last definition.
這個部分的tt, tf, tb不知道如何使用??



參考資料:
ExVim 试用手记 —— 编写代码之 移动光标
Think more... - exvim

沒有留言: