summaryrefslogtreecommitdiffstats
path: root/vimrc
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2012-07-16 01:59:36 -0500
committerJesse Luehrs <doy@tozt.net>2012-07-16 02:45:06 -0500
commitf134f7a36ad50247e2b9beab749a7b7a69fe9e0b (patch)
tree1897b0a826014460a0e703a4605d51e55a561774 /vimrc
parent165332e2969df189adb52b066b51786009388cc9 (diff)
downloadconf-f134f7a36ad50247e2b9beab749a7b7a69fe9e0b.tar.gz
conf-f134f7a36ad50247e2b9beab749a7b7a69fe9e0b.zip
try using CtrlP instead of FuzzyFinder
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc53
1 files changed, 20 insertions, 33 deletions
diff --git a/vimrc b/vimrc
index 3aad03d..9692def 100644
--- a/vimrc
+++ b/vimrc
@@ -585,39 +585,6 @@ 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()
-" }}}
-" }}}
" Yankring {{{
let g:yankring_history_dir = '~/.vim/yankring-data'
let g:yankring_clipboard_monitor = 0
@@ -660,4 +627,24 @@ 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>'],
+\ }
+" }}}
" }}}