'vim'에 해당되는 글 3건

  1. 2008.05.17 How to use Vim in Platform Builder for Windows CE5.0 by emachine 1
  2. 2008.03.14 How to use Cygwin by emachine
  3. 2008.01.31 IDE vs VIM by emachine 1
As you know, Windows CE6.0 is using the VS2005 as Platform Builder.
So There is Tips to use Vim in VS2005

But For some reason, If you need old PB for Windows CE5.0.
Here is instructions.

- Tools->Customize->Tools, create new Menu
- Command "C:\Program Files\Vim\vim71\gvim.exe"
  Arguments "--servername gmain --remote-silent +$(CurLine) +"normal zz" $(FilePath)"
  Initial directory "$(FileDir)"
- Keyboard, create the new shortcut key.

Posted by emachine
,
I saw this link yesterday, In fact, I have been using it as that post mentioned.
so I want value-added here.

To take adventage of Using the unix-commands in Windows command prompt

- To use grep, run "grep -irn "something" *"
- To use tail, run "tail -f log.txt", in case you have logging file which updates in real time.
- To use shell, you can invoke the shell in windows-prompt,
   run "sh your_script"
- To use make to generate the tags,cscope since I use Vim+ctags+cscope

Filename : GNUMakefile
CTAGS := ctags -R

All : CS tag
    @echo $^ is $@ done


CS :
    rm -f cscope cscope.in.out cscope.po.out cscope.out
    find /cygdrive/c/apps/sw/branches/0.01 \( -name '*.c' -o -name '*.cpp' -o -name '*.h' -o -name '*.inl' -o -name '*.S' \
            -o -name '*.arm' \
            -o -name 'linux' -prune\
            -o -name 'wince600' -prune\
            -o -name 'wm600' -prune \)  -print > cscope
    perl -w  convert.pl cscope > cscope.files
    cscope -b -q -i  cscope.files

tag : 
    $(CTAGS) --exclude="linux" --exclude="wince600" --exclude="wm600"
If you want to check cscope,  you'd better use this one for win32

In my _vimrc,  I just have a few lines
:set tags=tags;/
:nmap ,cs1 :cs add c:\apps\sw\branches\0.01\cscope.out
:nmap ,cs2 :cs add c:\apps\sw\branches\0.02\cscope.out


first line allows vim to search the tags files upper directory since I alway create tag file to branch top directory.
second,third line give an option to choose the cscope.out.




Posted by emachine
,

IDE vs VIM

카테고리 없음 2008. 1. 31. 18:45
생산성을 생각하면 VS200x만한 Tool이 있을까 생각한다. 처음 IDE를 접한게 Turbo C였으니까 참 세월무상이다.

지금은 Vim + Ctags + Copernic Desktop Search 를 쓰고 있다 이유는 VS2005를 쓸 수 없는 환경이라서 :), 물론 필요하면 디버깅은 최대한 VS2005에서 하려고 노력하고 있다. pdb파일만 있으면 windows mobile용 실행파일도 디버깅 가능하다 , 처음에 이게 되는줄 몰라서 Platform builder에서 KITL로 했었는데.

생산성하면 Jbuilder가  빠질수 없다. 지금이야 좋은 Java IDE가 많이 나와있겠지만, Jbuilder를 처음 쓸때 2번 놀랐다. 그 엄청난 거북이 실행 속도, 디버깅할때에 그 우아함. 속도는 느렸지만 자바초짜가 Open Source 몇개를 가지고 놀면서 새로운걸 만들려고 할때 Jbuilder만한 친구가 없었다.

IDE는 아니지만 에디터로서 source insight도 좋은 Tool이다. 한동안 잘 썼었는데, 회사에서 안사주는 관계로 작별을 고했다.  뭐 개인돈 250$내고 쓰는 동료도 있다. 내 생각에도 돈가치는 충분히 하는 Tool이다.  회사에선 Slickedit를 라이센싱한거 같더데 뭐 써보질 않아서 잘 모르겠다.

에디터로만 보자면 Vim에 한표를 주겠고, 소스트리를 넘나들면서 찾아다니기는 source insight 만한게 없겠고, 디버깅을 생각하면 IDE에 한표를 주겠다.

그래도 현재 Vim + Ctags + Copernic Search에 대만족이다.


Posted by emachine
,