aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.vim/after/plugin/ctrlp.vim2
-rw-r--r--.vimrc5
2 files changed, 6 insertions, 1 deletions
diff --git a/.vim/after/plugin/ctrlp.vim b/.vim/after/plugin/ctrlp.vim
index 5e2d936..9c16164 100644
--- a/.vim/after/plugin/ctrlp.vim
+++ b/.vim/after/plugin/ctrlp.vim
@@ -2,7 +2,6 @@ if get(g:, 'loaded_fzf_vim', 0) == 0
let g:ctrlp_map = '<leader>ff'
let g:ctrlp_cmd = 'CtrlP'
let g:ctrlp_working_path_mode = 'ra'
- let g:ctrlp_regexp = 1
let g:ctrlp_use_caching = 0
let g:ctrlp_extensions = ['tag', 'buffertag', 'quickfix', 'line']
let g:ctrlp_match_func = { 'match': 'pymatcher#PyMatch' }
@@ -20,4 +19,5 @@ if get(g:, 'loaded_fzf_vim', 0) == 0
nnoremap <leader>fl :CtrlPLine bufnr()<CR>
packadd ctrlp.vim
+ packadd ctrlp-py-matcher
endif
diff --git a/.vimrc b/.vimrc
index ff588b0..93ccda7 100644
--- a/.vimrc
+++ b/.vimrc
@@ -20,6 +20,11 @@ set secure
set exrc
set noerrorbells
+" Use python3 first
+if has('python3')
+elseif has('python')
+endif
+
" GUI
set guioptions-=m