summaryrefslogtreecommitdiffstats
path: root/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc8
1 files changed, 2 insertions, 6 deletions
diff --git a/vimrc b/vimrc
index 55321ee..cb7ba7f 100644
--- a/vimrc
+++ b/vimrc
@@ -1,9 +1,5 @@
" based on Eidolos's .vimrc, at http://sartak.org/conf/vimrc
-" pathogen {{{
-runtime bundle/pathogen/autoload/pathogen.vim
-call pathogen#infect()
-" }}}
" General options {{{
" Miscellaneous {{{
set nocompatible
@@ -778,8 +774,8 @@ let rec_exclude = '\('
if filereadable("dist.ini")
let rec_exclude .= '\|^' . fnamemodify('.', ':p:h:t') . '-'
endif
-call unite#custom#source('file_rec/async', 'ignore_pattern', rec_exclude)
-call unite#custom#source('file_rec/async', 'converters', ['converter_relative_word'])
+autocmd VimEnter call unite#custom#source('file_rec/async', 'ignore_pattern', rec_exclude)
+autocmd VimEnter call unite#custom#source('file_rec/async', 'converters', ['converter_relative_word'])
autocmd FileType unite call s:unite_my_settings()
function! s:unite_my_settings()
nmap <silent><buffer> \ <Plug>(unite_exit)