DragonFly BSD
DragonFly kernel List (threaded) for 2004-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: learning dragonfly or C...


From: "Simon 'corecode' Schubert" <corecode@xxxxxxxxxxxx>
Date: Fri, 12 Nov 2004 05:31:33 +0100

On Thursday, 11. November 2004 23:04, George Georgalis wrote:
> >If you use vi as your editor you can navigate code using a
> >tags file, other editors have similar functionality (for
> >example emacs uses etags).
> >
> >% man 1 vi
> >..
> >   -t     Start editing at the specified tag.  (See ctags(1)).
>
> Max,
>
> _That_ is really awesome! Just when I thought I had vim optimized,
> here's a whole new galaxy to explore! Thanks!

Ctags is nice, but try cscope, it's more like ctags squared (some say "on 
steroids")

make vim WITH_CSCOPE=sure and build an index in the directory you are starting 
to explore with cscope -bR (use -k for kernel source and -q for large 
projects)

cheers
  simon



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]