diff options
author | Jesse Luehrs <doy@tozt.net> | 2012-07-16 16:49:47 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2012-07-17 10:53:32 -0500 |
commit | 87c7832fe87d96e2d5f5ab08a9ed63162c19ea57 (patch) | |
tree | 03204223c13cafac9b3989329df48db87dc8b195 /vimrc | |
parent | 2cff657b1d35919a8b14656e1f600bf02b787825 (diff) | |
download | conf-87c7832fe87d96e2d5f5ab08a9ed63162c19ea57.tar.gz conf-87c7832fe87d96e2d5f5ab08a9ed63162c19ea57.zip |
Revert "try using CtrlP instead of FuzzyFinder"
This reverts commit f134f7a36ad50247e2b9beab749a7b7a69fe9e0b.
Conflicts:
.gitmodules
vimrc
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 53 |
1 files changed, 33 insertions, 20 deletions
@@ -585,6 +585,39 @@ let g:Foldtext_tex_enable = 1 let g:Foldtext_cpp_enable = 1 let g:Foldtext_perl_enable = 1 " }}} +" FuzzyFinder {{{ +nmap t :FufCoverageFile<CR> +nmap b :FufBuffer<CR> +nmap f :FufLine!<CR> +let g:fuf_modesDisable = [ + \'mrufile', 'mrucmd', 'bookmarkfile', 'bookmarkdir', + \'tag', 'buffertag', 'taggedfile', 'jumplist', 'changelist', + \'quickfix', +\] +let g:fuf_keyPrevPattern = '<Up>' +let g:fuf_keyNextPattern = '<Down>' +let g:fuf_dataDir = '~/.vim/fuf-data' +let g:fuf_enumeratingLimit = 10 +" exclusions {{{ +function! s:set_excludes() + let fuf_coveragefile_exclude_base = '\(' + \. '\(^\|/\)\.\|' + \. '\~$\|' + \. '^\(blib\|nytprof\)\|' + \. '\.\(' + \. 'o\|exe\|dll\|bak\|orig\|swp\|bs\|' + \. 'png\|jpg\|gif\|pdf\|doc\|d\|vsprops\|pbxproj\|sln' + \. '\)$' + \. '\)' + let g:fuf_coveragefile_exclude = fuf_coveragefile_exclude_base + if filereadable("dist.ini") + let g:fuf_coveragefile_exclude .= '\|^' . fnamemodify('.', ':p:h:t') . '-' + endif +endfunction +autocmd BufReadPost * call <SID>set_excludes() +" call <SID>set_excludes() +" }}} +" }}} " zencoding {{{ let g:user_zen_settings = { \ 'indentation' : ' ', @@ -618,24 +651,4 @@ else let g:gundo_disable = 1 endif " }}} -" ctrlp {{{ -let g:ctrlp_map = 't' -let g:ctrlp_match_window_bottom = 0 -let g:ctrlp_match_window_reversed = 0 -let g:ctrlp_cache_dir = $HOME.'/.vim/ctrlp/cache' -let g:ctrlp_dotfiles = 0 -let g:ctrlp_open_new_file = 'r' -let g:ctrlp_open_multiple_files = '1r' -let g:ctrlp_arg_map = 0 -let g:ctrlp_lazy_update = 100 -let g:ctrlp_prompt_mappings = { - \ 'PrtSelectMove("j")': ['<c-j>', '<tab>'], - \ 'PrtSelectMove("k")': ['<c-k>', '<s-tab>'], - \ 'PrtHistory(-1)': ['<c-n>', '<down>'], - \ 'PrtHistory(1)': ['<c-p>', '<up>'], - \ 'PrtExpandDir()': [], - \ 'ToggleFocus()': [], - \ 'MarkToOpen()': ['<c-z>', '<space>'], -\ } -" }}} " }}} |