commit
f6ac61c126
@ -80,7 +80,7 @@ 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, and the silver searcher ('ag')
|
||||
We automatically install a few useful packages including ctags, git, and hub, and the silver searcher ('ag')
|
||||
You can install macvim from brew as well, or download it from their website.
|
||||
|
||||
### Github Issues: [ghi gem](https://github.com/stephencelis/ghi)
|
||||
@ -413,6 +413,7 @@ If you omit the key combo, you'll get a list of all the maps. You can do the sam
|
||||
* color_highlight - use :ColorCodes to see hex colors highlighted
|
||||
* change-inside-surroundings - change content inside delimiters like quotes/brackets
|
||||
* Specky - used for color highlighting rspec correctly even if specs live outside of spec/ (rails.vim doesn't handle this)
|
||||
* Ag - use :Ag to search across multiple files. Faster than Grep and Ack.
|
||||
|
||||
#### General enhancements that don't add new commands
|
||||
|
||||
|
2
Rakefile
2
Rakefile
@ -144,7 +144,7 @@ def install_homebrew
|
||||
puts "======================================================"
|
||||
puts "Installing Homebrew packages...There may be some warnings."
|
||||
puts "======================================================"
|
||||
run %{brew install zsh ack ctags git hub tmux reattach-to-user-namespace the_silver_searcher}
|
||||
run %{brew install zsh ctags git hub tmux reattach-to-user-namespace the_silver_searcher}
|
||||
puts
|
||||
puts
|
||||
end
|
||||
|
@ -2,8 +2,8 @@
|
||||
" Open a Quickfix window for the last search.
|
||||
nnoremap <silent> <leader>q/ :execute 'vimgrep /'.@/.'/g %'<CR>:copen<CR>
|
||||
|
||||
" Ack for the last search.
|
||||
nnoremap <silent> <leader>qa/ :execute "Ack! '" . substitute(substitute(substitute(@/, "\\\\<", "\\\\b", ""), "\\\\>", "\\\\b", ""), "\\\\v", "", "") . "'"<CR>
|
||||
" Ag for the last search.
|
||||
nnoremap <silent> <leader>qa/ :execute "Ag! '" . substitute(substitute(substitute(@/, "\\\\<", "\\\\b", ""), "\\\\>", "\\\\b", ""), "\\\\v", "", "") . "'"<CR>
|
||||
|
||||
" GitGrep the last search (my own invention)
|
||||
nnoremap <silent> <leader>qg/ :execute "GitGrep '" . substitute(substitute(substitute(@/, "\\\\<", "\\\\b", ""), "\\\\>", "\\\\b", ""), "\\\\v", "", "") . "'"<CR>
|
||||
|
@ -48,7 +48,7 @@ Bundle "tpope/vim-git"
|
||||
Bundle "vim-scripts/lastpos.vim"
|
||||
Bundle "sjl/gundo.vim"
|
||||
Bundle "vim-scripts/sudo.vim"
|
||||
Bundle "mileszs/ack.vim"
|
||||
Bundle "rking/ag.vim"
|
||||
Bundle "nelstrom/vim-textobj-rubyblock"
|
||||
Bundle "kana/vim-textobj-user"
|
||||
Bundle "austintaylor/vim-indentobject"
|
||||
|
Loading…
x
Reference in New Issue
Block a user