diff options
-rw-r--r-- | .vim/after/plugin/ctrlp.vim | 2 | ||||
-rw-r--r-- | .vimrc | 5 |
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 @@ -20,6 +20,11 @@ set secure set exrc set noerrorbells +" Use python3 first +if has('python3') +elseif has('python') +endif + " GUI set guioptions-=m |