[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Feature request
From: |
Shigio Yamaguchi |
Subject: |
Re: Feature request |
Date: |
Mon, 25 Aug 2003 16:21:31 +0900 |
Hi,
> I had some trouble getting VIm correctly parsing the output with blanks as
> separators,
> but I now have managed to get it working with blanks instead. So the patch
> is no longer needed anymore.
OK.
> For everyone who is interrested getting VIm and global together put this in
> your .vimrc:
>
> " Use global as grep application
> set grepprg=global\ -x
> set grepformat=%*[^\ ]%*[\ ]%l%*[\ ]%f%*[\ ]%m
>
> map <silent> <C-\> :grep <C-R>=expand("<cword>")<CR><CR><CR>
> map <silent> <C-_> :grep! -r <C-R>=expand("<cword>")<CR><CR>:cw<CR>
Let me introduce this macro in global reference manual.
Thank you!
--
Shigio Yamaguchi <address@hidden> - Tama Communications Corporation
Spare mail address: <address@hidden>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663 C4B6 3CA5 BBB3 57BE DDA3