Add the silver searcher to brew packages

This commit is contained in:
Michael Campagnaro 2017-12-19 16:10:08 -05:00
parent fb8e44280c
commit 46e9392a49
2 changed files with 3 additions and 2 deletions

View File

@ -41,6 +41,7 @@ brew_packages=(
'cmake'
'pkg-config'
'vim'
'the_silver_searcher'
# 'rust'
# 'go'
'sdl')

4
vimrc
View File

@ -892,8 +892,8 @@ function! Search()
exec 'Fsgrep "' . l:term . '"'
else
" is pt faster than ag? I forget now and didn't document it
exec 'pt "' . l:term . '"'
"exec 'Ag "' . l:term . '"'
"exec 'pt "' . l:term . '"'
exec 'Ag "' . l:term . '"'
endif
endif
endfunction