Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add EasyGrep and set its configuration

- Only search files of the current type
- Always search recursively
- Automatically open/change the buffers found by recursive `:Replace`
(still requires `:wall` to save them)
  • Loading branch information...
commit c7a55bf4f7c0ec2ce86fb690a090b97db8b5d7c3 1 parent 5248a41
@dorkitude authored
Showing with 9 additions and 0 deletions.
  1. +3 −0  .gitmodules
  2. +1 −0  .vim/bundle/EasyGrep
  3. +5 −0 .vimrc
View
3  .gitmodules
@@ -13,3 +13,6 @@
[submodule ".vim/bundle/vim-abolish"]
path = .vim/bundle/vim-abolish
url = git://github.com/tpope/vim-abolish.git
+[submodule ".vim/bundle/EasyGrep"]
+ path = .vim/bundle/EasyGrep
+ url = https://github.com/vim-scripts/EasyGrep.git
1  .vim/bundle/EasyGrep
@@ -0,0 +1 @@
+Subproject commit 4323a37f71a539a004e2630fc9eae19df7a82c7c
View
5 .vimrc
@@ -125,3 +125,8 @@ set smartcase
"This allows you to hit Escape to unset the 'last search pattern' register
nnoremap <esc> :noh<return><esc>
+" EasyGrep config
+let g:EasyGrepMode=2 "search only files of current type
+let g:EasyGrepRecursive=1 "default to recursive style search
+let g:EasyGrepReplaceWindowMode=2 "autowrite the files changed by :Replace
+
Please sign in to comment.
Something went wrong with that request. Please try again.