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
(from parent 1:
0461fcd
)
+map <Esc>g: prepare ':grep' line with keyword under the cursor
author
short
<>
Sat, 18 Jan 2003 02:44:02 +0000
(
02:44
+0000)
committer
short
<>
Sat, 18 Jan 2003 02:44:02 +0000
(
02:44
+0000)
.vimrc
patch
|
blob
|
history
diff --git
a/.vimrc
b/.vimrc
index
a1db382
..
0ec05bd
100644
(file)
--- a/
.vimrc
+++ b/
.vimrc
@@
-67,6
+67,7
@@
noremap <Esc>N :next<cr>zz<C-g>
noremap <Esc>B :cn<cr>zz<C-g>
noremap <Esc>P :prev<cr>zz<C-g>
noremap <Esc>O :cp<cr>zz<C-g>
+noremap <Esc>g "myiw:grep<Space>-rw<Space>'<C-r>m'<Space>.
noremap <C-]> <C-]>zz<C-g>
noremap <C-t> <C-t>zz<C-g>
noremap <C-d> G:r !date '+\%H:\%M:\%S-'<cr>kA