From: Daniel Mack <daniel@caiaq.de>
To: Ramagudi Naziir <naziirr@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: how do YOU hack the linux kernel ?
Date: Fri, 29 Jan 2010 09:10:10 +0100 [thread overview]
Message-ID: <20100129081010.GA30756@buzzloop.caiaq.de> (raw)
In-Reply-To: <dfb262381001190452k3bad790ax14bbdbe92210b2d3@mail.gmail.com>
On Tue, Jan 19, 2010 at 02:52:57PM +0200, Ramagudi Naziir wrote:
> do you use vim ?
>
> If so, how do you open files you want to read/edit ?
> Assuming you don't remember their exact name/location, you'd need to
> use something like 'find . -iname '*pattern*'. which is slow.
> You can also ":tabnew ." and just browse the folders, but that's super slow too.
Just use ctags to index your tree. Vim can then use this index to
directly drop you at the definition of a symbol. Works very well. Just
google around to find tutorials to describe that in detail.
LXR is also a nice help sometimes: http://lxr.linux.no/linux/
Other than that you might develop a feeling for where to search, so you
can narrow your 'git grep' to specific places.
HTH,
Daniel
next prev parent reply other threads:[~2010-01-29 8:10 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-19 12:52 how do YOU hack the linux kernel ? Ramagudi Naziir
2010-01-19 13:15 ` Samuel Thibault
2010-01-19 14:29 ` Américo Wang
2010-01-20 6:35 ` Petr Uzel
2010-01-20 8:33 ` Michael Wookey
2010-01-20 18:04 ` Krzysztof Halasa
2010-01-21 0:15 ` Andi Kleen
2010-01-29 8:10 ` Daniel Mack [this message]
2010-01-29 11:37 ` Andy Walls
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100129081010.GA30756@buzzloop.caiaq.de \
--to=daniel@caiaq.de \
--cc=linux-kernel@vger.kernel.org \
--cc=naziirr@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox