From 46e9392a49823131726956cf694b47b00252ddee Mon Sep 17 00:00:00 2001 From: Michael Campagnaro Date: Tue, 19 Dec 2017 16:10:08 -0500 Subject: [PATCH] Add the silver searcher to brew packages --- osx/install.sh | 1 + vimrc | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/osx/install.sh b/osx/install.sh index 9843454..9309078 100755 --- a/osx/install.sh +++ b/osx/install.sh @@ -41,6 +41,7 @@ brew_packages=( 'cmake' 'pkg-config' 'vim' + 'the_silver_searcher' # 'rust' # 'go' 'sdl') diff --git a/vimrc b/vimrc index 544d4b2..3fa1f34 100644 --- a/vimrc +++ b/vimrc @@ -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