From 8ba8a330fb7201ae744b673b3103e950fef78563 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Sun, 19 Apr 2015 19:08:46 +0100 Subject: Update of the options for ctrlp --- vim/vimrc | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/vim/vimrc b/vim/vimrc index 2603976..c7180d5 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -30,8 +30,6 @@ Plugin 'Valloric/YouCompleteMe' filetype plugin indent on syntax on -"" Configuration - " Leader maps let mapleader = "\\" let maplocalleader = "-" @@ -40,9 +38,10 @@ nmap " Plugins options let g:ctrlp_map = '' let g:ctrlp_by_filename = 1 -let g:ctrlp_working_path_mode = '' +let g:ctrlp_working_path_mode = 'r' let g:ctrlp_show_hidden = 1 let g:ctrlp_open_new_file = 't' +let g:ctrlp_user_command = ['.git/', 'git --git-dir=%s/.git ls-files -oc --exclude-standard'] let g:UltiSnipsExpandTrigger="" let g:UltiSnipsJumpForwardTrigger="" @@ -79,9 +78,6 @@ let NERDTreeIgnore=['\.pdf$', '\~$','\.toc$', \ '\.out$', '\.log$','\.aux$','\.sty$', \ '\.fdb_latexmk$', '\.synctex.gz$','\.latexmain$'] -" CTRL-P - - "" Options " Tabs and indent -- cgit v1.2.3