summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vimrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/vimrc b/vimrc
index d330909..772a7c8 100644
--- a/vimrc
+++ b/vimrc
@@ -75,6 +75,11 @@ let g:ctrlp_open_new_file = 't'
let g:ctrlp_show_hidden = 1
let g:ctrlp_user_command = ['.git/', 'git --git-dir=%s/.git ls-files -oc --exclude-standard']
let g:ctrlp_working_path_mode = 'r'
+let g:ctrlp_prompt_mappings = {
+\ 'PrtSelectMove("j")': ['<c-n>'],
+\ 'PrtSelectMove("k")': ['<c-p>'],
+\ 'PrtHistory(-1)': ['<down>'],
+\ 'PrtHistory(1)': ['<up>'],}
let g:syntastic_cpp_compiler = 'clang++'
let g:syntastic_cpp_compiler_options = ' -std=c++11 -stdlib=libc++'