Skip to content

Commit

Permalink
adding some dirs to ctrlp ignore-list
Browse files Browse the repository at this point in the history
  • Loading branch information
lsdr committed Aug 17, 2015
1 parent 6d6b951 commit edcda63
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions conf.d/editor.vim
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
" editor.vim - basic stuff that improve editing all-around
"
Plugin 'ctrlpvim/ctrlp.vim'
let g:ctrlp_map='<leader>t'
let g:ctrlp_match_window = 'bottom,order:btt,min:1,max:7,results:10'
let g:ctrlp_match_window='bottom,order:btt,min:1,max:7,results:10'
let g:ctrlp_working_path_mode='ra'
let g:ctrlp_custom_ignore='\v\~$|\.(o|swp|pyc|png|gif|jpg|jpeg|svg|eot|ttf|woff)$|(^|[/\\])\.(hg|git|azk|bundle)($|[/\\])'
let g:ctrlp_jump_to_buffer=2
let g:ctrlp_custom_ignore = {
\ 'dir': '\v[\/]\.(git|hg|svn|gitkeep|azk)$',
\ 'file': '\v\~$|\.(o|swp|pyc|png|gif|jpg|jpeg|svg|eot|ttf|woff)$|(^|[/\\])\.(hg|git|azk|bundle)($|[/\\])'
\ }

let g:ctrlp_map='<leader>t'
nnoremap <leader>b :CtrlPBuffer<cr>
nnoremap <leader>. :CtrlPTag<cr>
Expand Down

0 comments on commit edcda63

Please sign in to comment.