git://git.jankratochvil.net
/
nethome.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b20b8f9
)
.vimrc for kernel sources searching.
author
short
<>
Thu, 21 Apr 2005 10:22:31 +0000
(10:22 +0000)
committer
short
<>
Thu, 21 Apr 2005 10:22:31 +0000
(10:22 +0000)
bin/kernel/kernel-vimrc
[new file with mode: 0644]
patch
|
blob
diff --git a/bin/kernel/kernel-vimrc
b/bin/kernel/kernel-vimrc
new file mode 100644
(file)
index 0000000..
842ee7e
--- /dev/null
+++ b/
bin/kernel/kernel-vimrc
@@ -0,0
+1,8
@@
+" $Id$
+"
+" .vimrc for searching only in the relevant part of the Linux kernel sourcetree.
+" Link as your ~/.vimrc (or load it by 'runtime') and use by: ALT-g
+
+
+set grepprg=kernelsrc\\\|xargs\ grep\ -n\ $*\ /dev/null
+noremap <Esc>g "myiw:grep<Space>-w<Space>'<C-r>m'