summaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim')
-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