看板 DFBSD_kernel 關於我們 聯絡資訊
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