From 2ece18cca9c5b849bbe3fdef9bc92bc1da076715 Mon Sep 17 00:00:00 2001 From: Alex Kwiatkowski and Paris Yee Date: Mon, 12 Oct 2015 15:02:33 -0400 Subject: [PATCH] Set working path to closest ancestor containing .git directory --- vimrc | 1 + 1 file changed, 1 insertion(+) diff --git a/vimrc b/vimrc index e914330..d923a60 100644 --- a/vimrc +++ b/vimrc @@ -99,6 +99,7 @@ if count(g:vimified_packages, 'general') " Use Ag over Grep set grepprg=ag\ --nogroup\ --nocolor + let g:ctrlp_working_path = 'r' let g:ctrlp_user_command = 'ag %s -i --nocolor --nogroup --ignore ".git" --ignore ".DS_Store" --hidden -g ""' else nnoremap F :ClearCtrlPCache\|:CtrlP