Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

added ctrlp ignores

  • Loading branch information...
commit 76c97997be41aa604757df2caded56733ad1c2bd 1 parent 0c0e37b
@harveyr authored
Showing with 17 additions and 3 deletions.
  1. +17 −3 .vimrc
View
20 .vimrc
@@ -143,24 +143,38 @@ let g:ackprg="ack-grep -H --nocolor --nogroup --column"
" go back to default 'ra', which sets to the ancestor dir containing .git,
" .hg, etc.
" let g:ctrlp_working_path_mode = 'c'
+" Exclude files
+set wildignore+=*.pyc,*.swp,*.zip
+let g:ctrlp_custom_ignore = '\v[\/]\.(git|hg|svn)$'
+let g:ctrlp_custom_ignore = {
+ \ 'dir': '\v[\/]\.(git|hg|svn)$',
+ \ 'file': '\v\.(exe|so|dll)$',
+ \ 'link': 'some_bad_symbolic_links',
+ \ }
"""""""""""""""""
" NeoComplCache
"""""""""""""""""
let g:neocomplcache_enable_at_startup = 1
+
" Use smartcase.
let g:neocomplcache_enable_smart_case = 1
-" " Use camel case completion.
-let g:neocomplcache_enable_camel_case_completion = 1
-" " Use underbar completion.
+
+" Use camel case completion.
+" let g:neocomplcache_enable_camel_case_completion = 1
+
+" Use underbar completion.
let g:neocomplcache_enable_underbar_completion = 1
+
" " Set minimum syntax keyword length.
let g:neocomplcache_min_syntax_length = 3
+j
" Plugin key-mappings.
imap <C-k> <Plug>(neocomplcache_snippets_expand)
smap <C-k> <Plug>(neocomplcache_snippets_expand)
inoremap <expr><C-g> neocomplcache#undo_completion()
inoremap <expr><C-l> neocomplcache#complete_common_string()
+
" Recommended key-mappings.
" " <CR>: close popup and save indent.
inoremap <expr><CR> neocomplcache#smart_close_popup() . "\<CR>"
Please sign in to comment.
Something went wrong with that request. Please try again.