天天看点

VIM ctags setup ack

[url=http://hlee.iteye.com/blog/1780090]reference[/url]

ctags --extra=+f --exclude=.git --exclude=log --exclude=coverage --exclude=public/assets -R *  /home/ken/.rbenv/versions/1.9.3-p429/lib/ruby/gems/1.9.1/gems/*
           

[color=red]再再更新:2012/10/8[/color]

ubuntu下Ack 被覆盖问题

sudo ln -s /usr/bin/ack-grep /usr/local/bin/ack
           

[color=red]再更新:2012/07/28[/color]

1. mac下ctags错误提示

2. 手册地质

[url]http://vim-taglist.sourceforge.net/manual.html[/url]

[color=red]严重更新[/color]

MAC的用户,FuzzyFinder,推荐用peepopen去peepcode看或者github和textmate的command t很像

而且,brew install macvim很有必要,因为直接支持ruby运行

3.

[quote]highlight group not found: Normal[/quote]

#.vimrc
colorscheme default
           

If you got error like below:

[quote]'Taglist: Exuberant ctags (http://ctags.sf.net) not found in PATH. Plugin is not loaded.'[/quote]

[img]http://dl.iteye.com/upload/attachment/0071/4867/9497b8f1-1ea3-305d-b3c3-b51c4f201ff1.png[/img]

When I try to open the taglist window, I am seeing the following error message. How do I fix this problem?

[quote] Taglist: Failed to generate tags for /my/path/to/file

ctags: illegal option -- -^@usage: ctags [-BFadtuwvx] [-f tagsfile] file ...[/quote]

The taglist plugin will work only with the exuberant ctags tool. You cannot use the GNU ctags or the Unix ctags program with the taglist plugin. You will see an error message similar to the one shown above, if you try use a non-exuberant ctags program with Vim. To fix this problem, either add the exuberant ctags tool location to the PATH environment variable or set the Tlist_Ctags_Cmd variable.

#mac下面要brew一个新的ctags,如果提示旧的ctags有问题的话
hash -d ctags
           

if you need make sure

modify your ~/.vim/Makefile