Add the silver searcher to brew packages
This commit is contained in:
@@ -41,6 +41,7 @@ brew_packages=(
|
|||||||
'cmake'
|
'cmake'
|
||||||
'pkg-config'
|
'pkg-config'
|
||||||
'vim'
|
'vim'
|
||||||
|
'the_silver_searcher'
|
||||||
# 'rust'
|
# 'rust'
|
||||||
# 'go'
|
# 'go'
|
||||||
'sdl')
|
'sdl')
|
||||||
|
|||||||
4
vimrc
4
vimrc
@@ -892,8 +892,8 @@ function! Search()
|
|||||||
exec 'Fsgrep "' . l:term . '"'
|
exec 'Fsgrep "' . l:term . '"'
|
||||||
else
|
else
|
||||||
" is pt faster than ag? I forget now and didn't document it
|
" is pt faster than ag? I forget now and didn't document it
|
||||||
exec 'pt "' . l:term . '"'
|
"exec 'pt "' . l:term . '"'
|
||||||
"exec 'Ag "' . l:term . '"'
|
exec 'Ag "' . l:term . '"'
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
|||||||
Reference in New Issue
Block a user