summaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2015-04-19 19:08:46 +0100
committerUrbain Vaes <urbain@vaes.uk>2015-04-19 19:08:46 +0100
commit8ba8a330fb7201ae744b673b3103e950fef78563 (patch)
tree40d8a32eded6fa07c9dbebad27e1c7bfb5c0dfa6 /vim/vimrc
parent19a735fccfafdd36371d0c3463549c008fd71d71 (diff)
Update of the options for ctrlp
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc8
1 files 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 <Space> <Leader>
" Plugins options
let g:ctrlp_map = '<c-p>'
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="<tab>"
let g:UltiSnipsJumpForwardTrigger="<tab>"
@@ -79,9 +78,6 @@ let NERDTreeIgnore=['\.pdf$', '\~$','\.toc$',
\ '\.out$', '\.log$','\.aux$','\.sty$',
\ '\.fdb_latexmk$', '\.synctex.gz$','\.latexmain$']
-" CTRL-P
-
-
"" Options
" Tabs and indent