Use silver searcher for lightning fast :Gsearch

This commit is contained in:
Yan Pritzker 2013-03-29 08:02:56 -07:00
parent d733d74c13
commit 24fb70b513
3 changed files with 5 additions and 7 deletions

View File

@ -77,13 +77,9 @@ Read on to learn what YADR provides!
Homebrew is _the missing package manager for OSX_. Installed automatically.
We automatically install a few useful packages including ack, ctags, git, and hub
We automatically install a few useful packages including ack, ctags, git, and hub, and the silver searcher ('ag')
You can install macvim from brew as well, or download it from their website.
```bash
brew install ack ctags git hub macvim tmux reattach-to-user-namespace
```
### Github Issues: [ghi gem](https://github.com/stephencelis/ghi)
We include the `ghi` command. Try `ghi list` and have fun managing issues from command line!
@ -403,7 +399,7 @@ If you omit the key combo, you'll get a list of all the maps. You can do the sam
* tabularize - align code effortlessly by using :Tabularize /[character] to align by a character, or try the keymaps
* yankring - effortless sanity for pasting. every time you yank something it goes into a buffer. after hitting p to paste, use ctrl-p or ctrl-n to cycle through the paste options. great for when you accidentally overwrite your yank with a delete.
* surround - super easy quote and tag manipulation - ysiw" - sourround inner word with quotes. ci"' - change inner double quotes to single quotes, etc
* greplace - use :Gsearch to find across many files, replace inside the changes, then :Greplace to do a replace across all matches
* greplace - use :Gsearch to find across many files, replace inside the changes, then :Greplace to do a replace across all matches - made lightning fast with Silver Searcher
* ConqueTerm - embedded fully colorful shell inside your vim
* vim-ruby-conque - helpers to run ruby,rspec,rake within ConqueTerm
* vim-markdown-preview - :Mm to view your README.md as html

View File

@ -96,7 +96,7 @@ def install_homebrew
puts "======================================================"
puts "Installing Homebrew packages...There may be some warnings."
puts "======================================================"
run %{brew install ack ctags git hub}
run %{brew install ack ctags git hub tmux reattach-to-user-namespace the_silver_searcher}
puts
puts
end

View File

@ -0,0 +1,2 @@
"Use the silver searcher for lightning fast Gsearch command
set grepprg="ag"