Improve NeoBundleLazy

diff --git a/dot.vimrc b/dot.vimrc
index 0af23e4..9fd6800 100644
--- a/dot.vimrc
+++ b/dot.vimrc
@@ -12,8 +12,6 @@ let s:dropbox_dir     = expand ('~/Dropbox')

 " global vars  "{{{2

-let $MY_VIMRUNTIME = expand(s:is_win ? '~/vimfiles' : '~/.vim')
-
 let g:opp_email = 'oppara <oppara _at_ oppara.tv>'
 let g:snips_author = g:opp_email
 let g:changelog_username = 'oppara'
@@ -24,10 +22,11 @@ let g:mapleader = ','

 " NeoBundle: "{{{1

-filetype off
-
-let &runtimepath = &runtimepath . ',' . $MY_VIMRUNTIME .  '/bundle/neobundle.vim'
-call neobundle#rc($MY_VIMRUNTIME .  '/bundle')
+if has("vim_starting")
+  let $MY_VIMRUNTIME = expand(has('win32') || has('win64') ? '~/vimfiles' : '~/.vim')
+  let &runtimepath = &runtimepath . ',' . $MY_VIMRUNTIME .  '/bundle/neobundle.vim'
+endif
+call neobundle#rc()

 let g:neobundle#default_options = { 'loadInsert' : { 'autoload' : { 'insert' : '1' } } }

@@ -35,143 +34,141 @@ let g:neobundle#default_options = { 'loadInsert' : { 'autoload' : { 'insert' : '
 NeoBundleFetch 'https://github.com/Shougo/neobundle.vim'

 NeoBundle 'https://github.com/itchyny/lightline.vim'
-NeoBundle 'https://github.com/vim-scripts/summerfruit.vim'
-NeoBundle 'https://github.com/vim-scripts/summerfruit256.vim'

 NeoBundle 'https://bitbucket.org/ns9tks/vim-l9'
 NeoBundle 'https://bitbucket.org/ns9tks/vim-fuzzyfinder'
 NeoBundle 'https://bitbucket.org/oppara/vim-autocomplpop'

-NeoBundle 'https://github.com/Shougo/vimproc', {
-  \ 'build' : {
-    \ 'windows' : 'make -f make_mingw32.mak',
-    \ 'cygwin' : 'make -f make_cygwin.mak',
-    \ 'mac' : 'make -f make_mac.mak',
-    \ 'unix' : 'make -f make_unix.mak',
-  \ },
-\ }
-
-NeoBundleLazy 'Shougo/unite.vim', { 'autoload' : {
-  \ 'insert' : '1',
-  \ 'commands' : [{ 'name' : 'Unite', 'complete' : 'customlist,unite#complete_source'}],
-  \ 'function_prefix' : 'unite' }}
-NeoBundleLazy 'Shougo/unite-help', { 'autoload' : { 'unite_sources' : ['help'] } }
-NeoBundleLazy 'Shougo/unite-outline', { 'autoload' : { 'unite_sources' : ['outline'] } }
-
-NeoBundle 'https://github.com/kana/vim-textobj-user'
-NeoBundle 'https://github.com/kana/vim-textobj-jabraces'
-NeoBundle 'https://github.com/h1mesuke/textobj-wiw'
-
-NeoBundle 'https://github.com/thinca/vim-quickrun'
-NeoBundle 'https://github.com/scrooloose/syntastic'
-NeoBundle 'https://github.com/thinca/vim-ref'
-NeoBundle 'https://github.com/h1mesuke/vim-alignta'
-NeoBundle 'https://bitbucket.org/anyakichi/vim-qfutil'
-
-NeoBundleLazy 'https://github.com/kana/vim-smartchr', '', 'loadInsert'
-NeoBundleLazy 'https://github.com/kana/vim-smartinput', '', 'loadInsert'
-
-NeoBundle 'https://github.com/LeafCage/yankround.vim'
-NeoBundle 'https://github.com/kana/vim-fakeclip'
-NeoBundle 'https://github.com/thinca/vim-localrc'
-
-NeoBundle 'https://github.com/tpope/vim-surround'
-NeoBundle 'https://github.com/tpope/vim-unimpaired'
-NeoBundle 'https://github.com/tpope/vim-fugitive'
-NeoBundle 'https://github.com/tpope/vim-abolish'
-NeoBundle 'https://github.com/tpope/vim-repeat'
-
-NeoBundle 'https://github.com/othree/eregex.vim'
-NeoBundle 'https://github.com/scrooloose/nerdcommenter'
-NeoBundle 'https://github.com/vim-scripts/sudo.vim'
-NeoBundle 'https://github.com/vim-scripts/matchit.zip'
-NeoBundle 'https://github.com/vim-scripts/ZoomWin'
-NeoBundle 'https://github.com/vim-scripts/MatchTag.git'
-
-NeoBundleLazy 'https://github.com/tyru/open-browser.vim', {
-      \'autoload' : { 'mappings'  : ['<Plug>(openbrowser-smart-search)', '<Plug>(openbrowser-open)'],
-      \'function_prefix' : 'openbrowser' } }
-
-NeoBundle 'https://github.com/oppara/hatena-vim'
-NeoBundle 'https://github.com/oppara/taglist.vim'
-NeoBundle 'https://github.com/oppara/snipmate.vim'
-NeoBundle 'https://github.com/oppara/vim-chef', 'develop'
-
-NeoBundle 'https://github.com/Yggdroot/indentLine'
-
-NeoBundle 'https://github.com/rhysd/migemo-search.vim'
-
-NeoBundleLazy 'https://github.com/oppara/sql_iabbr.vim', {
-\   'autoload' : { 'filetypes' : ['sql'] }
-\}
-
-" markdown
-NeoBundle 'https://github.com/plasticboy/vim-markdown'
-NeoBundleLazy 'https://github.com/kannokanno/previm', {
-  \ 'depends': ['tryu/open-browser.vim'],
-  \'autoload': {'commands' : ['PrevimOpen']}
-  \}
-
-
-" php
-NeoBundleLazy 'https://github.com/oppara/phpstylist.vim', {
-      \'autoload' : { 'filetypes' : ['php'] }
-      \}
-NeoBundleLazy 'https://github.com/oppara/PDV--phpDocumentor-for-Vim', {
-      \'autoload' : { 'filetypes' : ['php'] }
-      \}
-" http://www.karakaram.com/vim/phpunit-location-list/
-NeoBundleLazy 'https://github.com/karakaram/vim-quickrun-phpunit', {
-      \'autoload' : { 'filetypes' : ['php'] }
-      \}
-NeoBundleLazy 'https://github.com/vim-scripts/phpfolding.vim', {
-      \'autoload' : { 'filetypes' : ['php'] }
-      \}
-
-" html
-NeoBundleLazy 'https://github.com/mattn/zencoding-vim', {
-\   'autoload' : { 'filetypes' : ['html', 'xhtml'] }
-\}
-NeoBundleLazy 'https://github.com/othree/html5.vim', {
-\   'autoload' : { 'filetypes' : ['html'] }
-\}
-NeoBundleLazy 'https://github.com/hokaccha/vim-html5validator', {
-\   'autoload' : { 'filetypes' : ['html'] }
-\}
-
-" css
-NeoBundleLazy 'https://github.com/hail2u/vim-css3-syntax.git', {
-\   'autoload' : { 'filetypes' : ['css'] }
-\}
-
-" ruby
-NeoBundleLazy 'https://github.com/tpope/vim-endwise', {
-\   'autoload' : { 'filetypes' : ['ruby'] }
-\}
-" slim
-NeoBundle 'https://github.com/slim-template/vim-slim'
-
-" javascript
-NeoBundle 'https://github.com/heavenshell/vim-jsdoc.git'
-NeoBundle 'https://github.com/pangloss/vim-javascript'
-NeoBundle 'https://github.com/mattn/jscomplete-vim'
-NeoBundle 'https://github.com/igetgames/vim-backbone-jscomplete'
-NeoBundle 'https://github.com/myhere/vim-nodejs-complete'
-NeoBundle 'https://github.com/kchmck/vim-coffee-script'
-NeoBundle 'https://github.com/maksimr/vim-jsbeautify'
-
-" json
-NeoBundle 'https://github.com/elzr/vim-json.git'
-
-" perl
-NeoBundleLazy 'vim-scripts/perlomni.vim'
-
-" objecteiv-c
-NeoBundle 'https://github.com/msanders/cocoa.vim'
-
-" http://blog.glidenote.com/blog/2012/03/26/memolist.vim/
-NeoBundle 'https://github.com/fuenor/qfixgrep.git'
-NeoBundle 'https://github.com/glidenote/memolist.vim.git'
+" NeoBundle 'https://github.com/Shougo/vimproc', {
+  " \ 'build' : {
+    " \ 'windows' : 'make -f make_mingw32.mak',
+    " \ 'cygwin' : 'make -f make_cygwin.mak',
+    " \ 'mac' : 'make -f make_mac.mak',
+    " \ 'unix' : 'make -f make_unix.mak',
+  " \ },
+" \ }
+
+" NeoBundleLazy 'Shougo/unite.vim', { 'autoload' : {
+  " \ 'insert' : '1',
+  " \ 'commands' : [{ 'name' : 'Unite', 'complete' : 'customlist,unite#complete_source'}],
+  " \ 'function_prefix' : 'unite' }}
+" NeoBundleLazy 'Shougo/unite-help', { 'autoload' : { 'unite_sources' : ['help'] } }
+" NeoBundleLazy 'Shougo/unite-outline', { 'autoload' : { 'unite_sources' : ['outline'] } }
+
+" NeoBundle 'https://github.com/kana/vim-textobj-user'
+" NeoBundle 'https://github.com/kana/vim-textobj-jabraces'
+" NeoBundle 'https://github.com/h1mesuke/textobj-wiw'
+
+" NeoBundle 'https://github.com/thinca/vim-quickrun'
+" NeoBundle 'https://github.com/scrooloose/syntastic'
+" NeoBundle 'https://github.com/thinca/vim-ref'
+" NeoBundle 'https://github.com/h1mesuke/vim-alignta'
+" NeoBundle 'https://bitbucket.org/anyakichi/vim-qfutil'
+
+" NeoBundleLazy 'https://github.com/kana/vim-smartchr', '', 'loadInsert'
+" NeoBundleLazy 'https://github.com/kana/vim-smartinput', '', 'loadInsert'
+
+" NeoBundle 'https://github.com/LeafCage/yankround.vim'
+" NeoBundle 'https://github.com/kana/vim-fakeclip'
+" NeoBundle 'https://github.com/thinca/vim-localrc'
+
+" NeoBundle 'https://github.com/tpope/vim-surround'
+" NeoBundle 'https://github.com/tpope/vim-unimpaired'
+" NeoBundle 'https://github.com/tpope/vim-fugitive'
+" NeoBundle 'https://github.com/tpope/vim-abolish'
+" NeoBundle 'https://github.com/tpope/vim-repeat'
+
+" NeoBundle 'https://github.com/othree/eregex.vim'
+" NeoBundle 'https://github.com/scrooloose/nerdcommenter'
+" NeoBundle 'https://github.com/vim-scripts/sudo.vim'
+" NeoBundle 'https://github.com/vim-scripts/matchit.zip'
+" NeoBundle 'https://github.com/vim-scripts/ZoomWin'
+" NeoBundle 'https://github.com/vim-scripts/MatchTag.git'
+
+" NeoBundleLazy 'https://github.com/tyru/open-browser.vim', {
+      " \'autoload' : { 'mappings'  : ['<Plug>(openbrowser-smart-search)', '<Plug>(openbrowser-open)'],
+      " \'function_prefix' : 'openbrowser' } }
+
+" NeoBundle 'https://github.com/oppara/hatena-vim'
+" NeoBundle 'https://github.com/oppara/taglist.vim'
+" NeoBundle 'https://github.com/oppara/snipmate.vim'
+" NeoBundle 'https://github.com/oppara/vim-chef', 'develop'
+
+" NeoBundle 'https://github.com/Yggdroot/indentLine'
+
+" NeoBundle 'https://github.com/rhysd/migemo-search.vim'
+
+" NeoBundleLazy 'https://github.com/oppara/sql_iabbr.vim', {
+" \   'autoload' : { 'filetypes' : ['sql'] }
+" \}
+
+" " markdown
+" NeoBundle 'https://github.com/plasticboy/vim-markdown'
+" NeoBundleLazy 'https://github.com/kannokanno/previm', {
+  " \ 'depends': ['tryu/open-browser.vim'],
+  " \'autoload': {'commands' : ['PrevimOpen']}
+  " \}
+
+
+" " php
+" NeoBundleLazy 'https://github.com/oppara/phpstylist.vim', {
+      " \'autoload' : { 'filetypes' : ['php'] }
+      " \}
+" NeoBundleLazy 'https://github.com/oppara/PDV--phpDocumentor-for-Vim', {
+      " \'autoload' : { 'filetypes' : ['php'] }
+      " \}
+" " http://www.karakaram.com/vim/phpunit-location-list/
+" NeoBundleLazy 'https://github.com/karakaram/vim-quickrun-phpunit', {
+      " \'autoload' : { 'filetypes' : ['php'] }
+      " \}
+" NeoBundleLazy 'https://github.com/vim-scripts/phpfolding.vim', {
+      " \'autoload' : { 'filetypes' : ['php'] }
+      " \}
+
+" " html
+" NeoBundleLazy 'https://github.com/mattn/zencoding-vim', {
+" \   'autoload' : { 'filetypes' : ['html', 'xhtml'] }
+" \}
+" NeoBundleLazy 'https://github.com/othree/html5.vim', {
+" \   'autoload' : { 'filetypes' : ['html'] }
+" \}
+" NeoBundleLazy 'https://github.com/hokaccha/vim-html5validator', {
+" \   'autoload' : { 'filetypes' : ['html'] }
+" \}
+
+" " css
+" NeoBundleLazy 'https://github.com/hail2u/vim-css3-syntax.git', {
+" \   'autoload' : { 'filetypes' : ['css'] }
+" \}
+
+" " ruby
+" NeoBundleLazy 'https://github.com/tpope/vim-endwise', {
+" \   'autoload' : { 'filetypes' : ['ruby'] }
+" \}
+" " slim
+" NeoBundle 'https://github.com/slim-template/vim-slim'
+
+" " javascript
+" NeoBundle 'https://github.com/heavenshell/vim-jsdoc.git'
+" NeoBundle 'https://github.com/pangloss/vim-javascript'
+" NeoBundle 'https://github.com/mattn/jscomplete-vim'
+" NeoBundle 'https://github.com/igetgames/vim-backbone-jscomplete'
+" NeoBundle 'https://github.com/myhere/vim-nodejs-complete'
+" NeoBundle 'https://github.com/kchmck/vim-coffee-script'
+" NeoBundle 'https://github.com/maksimr/vim-jsbeautify'
+
+" " json
+" NeoBundle 'https://github.com/elzr/vim-json.git'
+
+" " perl
+" NeoBundleLazy 'vim-scripts/perlomni.vim'
+
+" " objecteiv-c
+" NeoBundle 'https://github.com/msanders/cocoa.vim'
+
+" " http://blog.glidenote.com/blog/2012/03/26/memolist.vim/
+" NeoBundle 'https://github.com/fuenor/qfixgrep.git'
+" NeoBundle 'https://github.com/glidenote/memolist.vim.git'

 filetype plugin indent on

@@ -684,453 +681,453 @@ noremap <Leader>ri :%s/\s*$//g<cr>:noh<cr>''

-" Autocmd:  "{{{1
+" " Autocmd:  "{{{1

-augroup vimrc-rtrim  "{{{2
-  autocmd!
-  " 保存時に行末の空白を除去する
-  autocmd BufWritePre * call s:rtrim()
-
-  function! s:rtrim()
-    let s:cursor = getpos(".")
-    if &filetype == "markdown"
-      %s/\s\+\(\s\{2}\)$/\1/e
-      call s:set_markdown_trailing_space_highlight()
-    else
-      %s/\s\+$//e
-    endif
-    call setpos(".", s:cursor)
-  endfunction
-
-  function! s:set_markdown_trailing_space_highlight()
-    match Underlined /\s\{2}$/
-    highlight Underlined ctermbg=black ctermfg=red guibg=black guifg=red
-  endfunction
-augroup END
+" augroup vimrc-rtrim  "{{{2
+  " autocmd!
+  " " 保存時に行末の空白を除去する
+  " autocmd BufWritePre * call s:rtrim()
+
+  " function! s:rtrim()
+    " let s:cursor = getpos(".")
+    " if &filetype == "markdown"
+      " %s/\s\+\(\s\{2}\)$/\1/e
+      " call s:set_markdown_trailing_space_highlight()
+    " else
+      " %s/\s\+$//e
+    " endif
+    " call setpos(".", s:cursor)
+  " endfunction

-augroup vimrc-avoid-jis  "{{{2
-  autocmd!
-  " 日本語を含まない場合にJISと解釈されるのを防ぐ  "{{{3
-  autocmd BufReadPost *
-        \   if &modifiable && !search('[^\x00-\x7F]', 'cnw') && &filetype != 'svn'
-        \ |   setlocal fileencoding=
-        \ | endif
-augroup END
+  " function! s:set_markdown_trailing_space_highlight()
+    " match Underlined /\s\{2}$/
+    " highlight Underlined ctermbg=black ctermfg=red guibg=black guifg=red
+  " endfunction
+" augroup END

+" augroup vimrc-avoid-jis  "{{{2
+  " autocmd!
+  " " 日本語を含まない場合にJISと解釈されるのを防ぐ  "{{{3
+  " autocmd BufReadPost *
+        " \   if &modifiable && !search('[^\x00-\x7F]', 'cnw') && &filetype != 'svn'
+        " \ |   setlocal fileencoding=
+        " \ | endif
+" augroup END

-"編集中のファイル名を screen のタイトルに表示する  "{{{2
-if &term =~ "screen"
-  " if &term !~ "xterm-color"
-  augroup vimrc-screen
-    autocmd!
-    autocmd BufEnter *
-          \ if bufname("") !~ "^\[A-Za-z0-9\]*://" && bufname("") !~ "^["
-          \ | silent! exe '!echo -n "k[`basename %`]\\"'
-          \ | endif
-    autocmd VimLeave *
-          \ silent! exe '!echo -n "k`dirs`\\"'
-  augroup END
-end
-
-augroup vimrc-view  "{{{2
-  autocmd!
-  " 状態の保存と復元
-  " http://vim-users.jp/2009/10/hack84/
-  autocmd BufLeave * if expand('%') !=# '' && &buftype ==# '' | mkview | endif
-  autocmd BufReadPost * if !exists('b:view_loaded') &&
-        \  expand('%') !=# '' && &buftype ==# ''
-        \  | silent! loadview
-        \  | let b:view_loaded = 1
-        \  | endif
-  autocmd VimLeave * call map(split(glob(&viewdir . '/*'), "\n"), 'delete(v:val)')

-augroup END
+" "編集中のファイル名を screen のタイトルに表示する  "{{{2
+" if &term =~ "screen"
+  " " if &term !~ "xterm-color"
+  " augroup vimrc-screen
+    " autocmd!
+    " autocmd BufEnter *
+          " \ if bufname("") !~ "^\[A-Za-z0-9\]*://" && bufname("") !~ "^["
+          " \ | silent! exe '!echo -n "k[`basename %`]\\"'
+          " \ | endif
+    " autocmd VimLeave *
+          " \ silent! exe '!echo -n "k`dirs`\\"'
+  " augroup END
+" end
+
+" augroup vimrc-view  "{{{2
+  " autocmd!
+  " " 状態の保存と復元
+  " " http://vim-users.jp/2009/10/hack84/
+  " autocmd BufLeave * if expand('%') !=# '' && &buftype ==# '' | mkview | endif
+  " autocmd BufReadPost * if !exists('b:view_loaded') &&
+        " \  expand('%') !=# '' && &buftype ==# ''
+        " \  | silent! loadview
+        " \  | let b:view_loaded = 1
+        " \  | endif
+  " autocmd VimLeave * call map(split(glob(&viewdir . '/*'), "\n"), 'delete(v:val)')

-augroup vimrc-quicklook-fix  "{{{2
-  autocmd!
-  " http://d.hatena.ne.jp/uasi/20110523/1306079612
-  autocmd BufWritePost * call s:set_utf8_xattr(expand("<afile>"))
+" augroup END

-  function! s:set_utf8_xattr(file)
-    let isutf8 = &fileencoding == "utf-8" || ( &fileencoding == "" && &encoding == "utf-8")
-    if s:is_mac && isutf8
-      call system("xattr -w com.apple.TextEncoding 'utf-8;134217984' '" . a:file . "'")
-    endif
-  endfunction
-augroup END
+" augroup vimrc-quicklook-fix  "{{{2
+  " autocmd!
+  " " http://d.hatena.ne.jp/uasi/20110523/1306079612
+  " autocmd BufWritePost * call s:set_utf8_xattr(expand("<afile>"))

-augroup vimrc-cursorline  "{{{2
-  autocmd!
-  autocmd VimEnter * setlocal cursorline
-  autocmd WinEnter * setlocal cursorline
-  autocmd WinLeave * setlocal nocursorline
-augroup END
+  " function! s:set_utf8_xattr(file)
+    " let isutf8 = &fileencoding == "utf-8" || ( &fileencoding == "" && &encoding == "utf-8")
+    " if s:is_mac && isutf8
+      " call system("xattr -w com.apple.TextEncoding 'utf-8;134217984' '" . a:file . "'")
+    " endif
+  " endfunction
+" augroup END

-augroup vimrc-lcd  "{{{2
-  autocmd!
-  " 現在編集中のバッファのディレクトリに移動する  "{{{3
-  autocmd BufReadPre,BufFilePre * unlet! b:lcd
-  autocmd BufReadPost,BufFilePost,BufEnter * call s:lcd()
-
-  function! s:lcd()
-    if &l:buftype !=# '' && &l:buftype !=# 'help' ||
-    \   0 <= index(['unite', 'vimfiler'], &l:filetype)
-      unlet! b:lcd
-      return
-    endif
+" augroup vimrc-cursorline  "{{{2
+  " autocmd!
+  " autocmd VimEnter * setlocal cursorline
+  " autocmd WinEnter * setlocal cursorline
+  " autocmd WinLeave * setlocal nocursorline
+" augroup END

-    if exists('b:lcd') &&
-    \  (b:lcd ==# '' || getcwd() =~# '^\V' . escape(b:lcd, '\') . '\$')
-      return
-    endif
+" augroup vimrc-lcd  "{{{2
+  " autocmd!
+  " " 現在編集中のバッファのディレクトリに移動する  "{{{3
+  " autocmd BufReadPre,BufFilePre * unlet! b:lcd
+  " autocmd BufReadPost,BufFilePost,BufEnter * call s:lcd()
+
+  " function! s:lcd()
+    " if &l:buftype !=# '' && &l:buftype !=# 'help' ||
+    " \   0 <= index(['unite', 'vimfiler'], &l:filetype)
+      " unlet! b:lcd
+      " return
+    " endif

-    let path = s:lcd_path()
-    if isdirectory(path)
-      lcd `=path`
-      let b:lcd = getcwd()
-    endif
-  endfunction
+    " if exists('b:lcd') &&
+    " \  (b:lcd ==# '' || getcwd() =~# '^\V' . escape(b:lcd, '\') . '\$')
+      " return
+    " endif

-  function! s:lcd_path()
-    let path = ''
-    let simple = expand('%:p:h')
+    " let path = s:lcd_path()
+    " if isdirectory(path)
+      " lcd `=path`
+      " let b:lcd = getcwd()
+    " endif
+  " endfunction

-    if &l:buftype ==# 'help'
-      return simple
-    endif
+  " function! s:lcd_path()
+    " let path = ''
+    " let simple = expand('%:p:h')

-    let tf = tagfiles()
-    if !empty(tf)
-      let tagdir = fnamemodify(tf[0], ':p:h')
-      if tagdir !=# '' && simple[ : len(tagdir) - 1] ==# tagdir
-        return tagdir
-      endif
-    endif
+    " if &l:buftype ==# 'help'
+      " return simple
+    " endif

-    let base = substitute(expand('%:p'), '\\', '/', 'g')
-    " for dir in ['src', 'include']
-      " let pat = '/' . dir . '/'
-      " if base =~# pat
-        " let path = base[: strridx(base, pat) + len(dir)]
+    " let tf = tagfiles()
+    " if !empty(tf)
+      " let tagdir = fnamemodify(tf[0], ':p:h')
+      " if tagdir !=# '' && simple[ : len(tagdir) - 1] ==# tagdir
+        " return tagdir
       " endif
-    " endfor
-    if path !=# ''
-      return path
-    endif
-
-    " リポジトリのルートには移動しない
-    " let base = simple
-    " let dirs = ['.svn', '.git', '.bzr', '.hg']
-    " if &l:filetype =~# '^\%(vim\|help\)$'
-      " call add(dirs, 'doc')
     " endif
-    " for d in dirs
-      " let d = finddir(d, escape(base, ' ?*[]();') . ';')
-      " if d !=# ''
-        " let p = fnamemodify(d, ':p:h:h')
-        " if strlen(path) < strlen(p)
-          " let path = p
-        " endif
-      " endif
-    " endfor
+
+    " let base = substitute(expand('%:p'), '\\', '/', 'g')
+    " " for dir in ['src', 'include']
+      " " let pat = '/' . dir . '/'
+      " " if base =~# pat
+        " " let path = base[: strridx(base, pat) + len(dir)]
+      " " endif
+    " " endfor
     " if path !=# ''
       " return path
     " endif

-    return simple
-  endfunction
-augroup END
-
-augroup vimrc-quickfix  "{{{2
-  autocmd!
-  " Quickfixを自動で閉じる
-  " http://hail2u.net/blog/software/vim-auto-close-quickfix-window.html
-  autocmd WinEnter * if (winnr('$') == 1) && (getbufvar(winbufnr(0), '&buftype')) == 'quickfix' | quit | endif
-
-  " Quickfixを自動で開く
-  " http://www.sopht.jp/blog/index.php?/archives/458-Quickfix-utility-for-Vim.html
-  autocmd QuickFixCmdPost [^l]* cwindow
-  autocmd QuickFixCmdPost l* lwindow
-
-  autocmd QuickfixCmdPost grep,grepadd,vimgrep copen
-  autocmd QuickfixCmdPost make call s:do_post_quickfix_cmd()
+    " " リポジトリのルートには移動しない
+    " " let base = simple
+    " " let dirs = ['.svn', '.git', '.bzr', '.hg']
+    " " if &l:filetype =~# '^\%(vim\|help\)$'
+      " " call add(dirs, 'doc')
+    " " endif
+    " " for d in dirs
+      " " let d = finddir(d, escape(base, ' ?*[]();') . ';')
+      " " if d !=# ''
+        " " let p = fnamemodify(d, ':p:h:h')
+        " " if strlen(path) < strlen(p)
+          " " let path = p
+        " " endif
+      " " endif
+    " " endfor
+    " " if path !=# ''
+      " " return path
+    " " endif
+
+    " return simple
+  " endfunction
+" augroup END

-  function! s:do_post_quickfix_cmd()
-    if len(getqflist()) > 0
-      cw
-    else
-      cclose
-    endif
-  endfunction
-augroup END
+" augroup vimrc-quickfix  "{{{2
+  " autocmd!
+  " " Quickfixを自動で閉じる
+  " " http://hail2u.net/blog/software/vim-auto-close-quickfix-window.html
+  " autocmd WinEnter * if (winnr('$') == 1) && (getbufvar(winbufnr(0), '&buftype')) == 'quickfix' | quit | endif
+
+  " " Quickfixを自動で開く
+  " " http://www.sopht.jp/blog/index.php?/archives/458-Quickfix-utility-for-Vim.html
+  " autocmd QuickFixCmdPost [^l]* cwindow
+  " autocmd QuickFixCmdPost l* lwindow
+
+  " autocmd QuickfixCmdPost grep,grepadd,vimgrep copen
+  " autocmd QuickfixCmdPost make call s:do_post_quickfix_cmd()
+
+  " function! s:do_post_quickfix_cmd()
+    " if len(getqflist()) > 0
+      " cw
+    " else
+      " cclose
+    " endif
+  " endfunction
+" augroup END

-augroup vimrc-misc  "{{{2
-  autocmd!
-  " 最後に編集した位置へカーソルを移動
-  autocmd BufReadPost
-        \ * if line("'\"") && line("'\"") <= line('$')
-        \ |   execute 'normal! g`"'
-        \ | endif
-
-  " 辞書設定
-  autocmd FileType
-        \ * if filereadable(expand('~/.vim/dict/' . &l:filetype . '.dict'))
-        \ |   let &l:dict = '~/.vim/dict/' . &l:filetype . '.dict'
-        \ | endif
-
-  " ファイルタイプ再設定
-  autocmd BufWritePost
-        \ * if &l:filetype ==# '' || exists('b:ftdetect')
-        \ |   unlet! b:ftdetect
-        \ |   filetype detect
-        \ | endif
-augroup END
+" augroup vimrc-misc  "{{{2
+  " autocmd!
+  " " 最後に編集した位置へカーソルを移動
+  " autocmd BufReadPost
+        " \ * if line("'\"") && line("'\"") <= line('$')
+        " \ |   execute 'normal! g`"'
+        " \ | endif
+
+  " " 辞書設定
+  " autocmd FileType
+        " \ * if filereadable(expand('~/.vim/dict/' . &l:filetype . '.dict'))
+        " \ |   let &l:dict = '~/.vim/dict/' . &l:filetype . '.dict'
+        " \ | endif
+
+  " " ファイルタイプ再設定
+  " autocmd BufWritePost
+        " \ * if &l:filetype ==# '' || exists('b:ftdetect')
+        " \ |   unlet! b:ftdetect
+        " \ |   filetype detect
+        " \ | endif
+" augroup END

-" FileType:  "{{{1
+" " FileType:  "{{{1

-augroup vimrc-ft
-  autocmd!
-  autocmd FileType * setlocal complete=.,w,b,u,t
-  autocmd FileType * let s:tidy_cmd = ''
-  autocmd FileType * inoremap <buffer> >  >
+" augroup vimrc-ft
+  " autocmd!
+  " autocmd FileType * setlocal complete=.,w,b,u,t
+  " autocmd FileType * let s:tidy_cmd = ''
+  " autocmd FileType * inoremap <buffer> >  >

-  " http://vim-users.jp/2009/11/hack96/
-  autocmd FileType *
-        \  if &l:omnifunc == ''
-        \|   setlocal omnifunc=syntaxcomplete#Complete
-        \| endif
+  " " http://vim-users.jp/2009/11/hack96/
+  " autocmd FileType *
+        " \  if &l:omnifunc == ''
+        " \|   setlocal omnifunc=syntaxcomplete#Complete
+        " \| endif

-augroup END
+" augroup END

-augroup vimrc-ft-snippet  "{{{2
-  autocmd!
-  autocmd BufRead,BufNew *snip :setlocal filetype=snippet
-augroup END
+" augroup vimrc-ft-snippet  "{{{2
+  " autocmd!
+  " autocmd BufRead,BufNew *snip :setlocal filetype=snippet
+" augroup END

-" git.vim  "{{{2
-" https://github.com/tpope/vim-git/blob/master/ftplugin/git.vim
-" autocmd AfterPlugin BufRead *.git/COMMIT_EDITMSG DiffGitCached -p | wincmd p
-" autocmd AfterPlugin BufRead *.git/COMMIT_EDITMSG DiffGitCached -p | wincmd L
-" autocmd vimrc BufRead *.git/COMMIT_EDITMSG DiffGitCached -p | only | split | b 1
+" " git.vim  "{{{2
+" " https://github.com/tpope/vim-git/blob/master/ftplugin/git.vim
+" " autocmd AfterPlugin BufRead *.git/COMMIT_EDITMSG DiffGitCached -p | wincmd p
+" " autocmd AfterPlugin BufRead *.git/COMMIT_EDITMSG DiffGitCached -p | wincmd L
+" " autocmd vimrc BufRead *.git/COMMIT_EDITMSG DiffGitCached -p | only | split | b 1

-augroup vimrc-ft-gitrebase  "{{{2
-  autocmd!
-  " http://sssslide.com/speakerdeck.com/rhysd/do-you-know-about-vim-runtime-files
-  autocmd FileType gitrebase nnoremap <buffer>s :<C-u>Squash<CR>
-  autocmd FileType gitrebase nnoremap <buffer>f :<C-u>Fixup<CR>
-  autocmd FileType gitrebase nnoremap <buffer>r :<C-u>Reword<CR>
-augroup END
+" augroup vimrc-ft-gitrebase  "{{{2
+  " autocmd!
+  " " http://sssslide.com/speakerdeck.com/rhysd/do-you-know-about-vim-runtime-files
+  " autocmd FileType gitrebase nnoremap <buffer>s :<C-u>Squash<CR>
+  " autocmd FileType gitrebase nnoremap <buffer>f :<C-u>Fixup<CR>
+  " autocmd FileType gitrebase nnoremap <buffer>r :<C-u>Reword<CR>
+" augroup END

-augroup vimrc-ft-vim  "{{{2
-  autocmd!
-  autocmd FileType vim setlocal expandtab tabstop=2 softtabstop=2 shiftwidth=2
-        \| nnoremap <leader>sv :source %<CR>
-        \| setlocal keywordprg=:help
-augroup END
+" augroup vimrc-ft-vim  "{{{2
+  " autocmd!
+  " autocmd FileType vim setlocal expandtab tabstop=2 softtabstop=2 shiftwidth=2
+        " \| nnoremap <leader>sv :source %<CR>
+        " \| setlocal keywordprg=:help
+" augroup END

-augroup vimrc-ft-perl  "{{{2
-  autocmd!
-  autocmd FileType perl setlocal expandtab softtabstop=4 shiftwidth=4
-  autocmd FileType perl let s:tidy_cmd = "perltidy -q -st"
-  autocmd FileType perl nnoremap <silent><buffer><leader>ti :Tidy<cr>
-  autocmd FileType perl vnoremap <silent><buffer><leader>ti <Nop>
-  autocmd FileType perl  inoremap <buffer><expr> > smartchr#one_of('>', '->', '=>', '>>')
-" autocmd FileType perl setlocal complete-=i | setlocal complete+=k~/.vim/dict/perl_functions.dict
-augroup END
+" augroup vimrc-ft-perl  "{{{2
+  " autocmd!
+  " autocmd FileType perl setlocal expandtab softtabstop=4 shiftwidth=4
+  " autocmd FileType perl let s:tidy_cmd = "perltidy -q -st"
+  " autocmd FileType perl nnoremap <silent><buffer><leader>ti :Tidy<cr>
+  " autocmd FileType perl vnoremap <silent><buffer><leader>ti <Nop>
+  " autocmd FileType perl  inoremap <buffer><expr> > smartchr#one_of('>', '->', '=>', '>>')
+" " autocmd FileType perl setlocal complete-=i | setlocal complete+=k~/.vim/dict/perl_functions.dict
+" augroup END

-augroup vimrc-ft-ruby  "{{{2
-  autocmd!
-  autocmd FileType ruby setlocal expandtab softtabstop=2 shiftwidth=2
-  autocmd FileType ruby  inoremap <buffer><expr> > smartchr#one_of('>', '->', '=>', '>>')
- " autocmd FileType ruby setlocal complete+=k~/.vim/dict/ruby.dict
-augroup END
+" augroup vimrc-ft-ruby  "{{{2
+  " autocmd!
+  " autocmd FileType ruby setlocal expandtab softtabstop=2 shiftwidth=2
+  " autocmd FileType ruby  inoremap <buffer><expr> > smartchr#one_of('>', '->', '=>', '>>')
+ " " autocmd FileType ruby setlocal complete+=k~/.vim/dict/ruby.dict
+" augroup END

-augroup vimrc-ft-php  "{{{2
-  autocmd!
-  autocmd FileType php call s:set_php4_syntax_check()
+" augroup vimrc-ft-php  "{{{2
+  " autocmd!
+  " autocmd FileType php call s:set_php4_syntax_check()

-  function! s:set_php4_syntax_check()
-    let l:version =  system('php -v|xargs|cut -d " " -f 2|cut -d "." -f 1')
-    if l:version == 4
-      compiler php
-      autocmd BufWritePost * silent make % | redraw!
-    endif
-  endfunction
+  " function! s:set_php4_syntax_check()
+    " let l:version =  system('php -v|xargs|cut -d " " -f 2|cut -d "." -f 1')
+    " if l:version == 4
+      " compiler php
+      " autocmd BufWritePost * silent make % | redraw!
+    " endif
+  " endfunction

-  " cakephp template
-  autocmd BufRead,BufNew *thtml :setlocal filetype=php
-  autocmd BufRead,BufNew *ctp :setlocal filetype=php
+  " " cakephp template
+  " autocmd BufRead,BufNew *thtml :setlocal filetype=php
+  " autocmd BufRead,BufNew *ctp :setlocal filetype=php

-  autocmd FileType php setlocal omnifunc=phpcomplete#CompletePHP
-  autocmd FileType php setlocal expandtab tabstop=4 softtabstop=4 shiftwidth=4
-        \| setlocal omnifunc=phpcomplete#CompletePHP
-        \| setlocal iskeyword-=-
-        \| setlocal keywordprg=:help
-        \| setlocal commentstring=//%s
-        \| setlocal dictionary+=$MY_VIMRUNTIME/dict/php.dict
-        \| setlocal complete-=i
-        \| setlocal complete+=k$MY_VIMRUNTIME/dict/php.dict
+  " autocmd FileType php setlocal omnifunc=phpcomplete#CompletePHP
+  " autocmd FileType php setlocal expandtab tabstop=4 softtabstop=4 shiftwidth=4
+        " \| setlocal omnifunc=phpcomplete#CompletePHP
+        " \| setlocal iskeyword-=-
+        " \| setlocal keywordprg=:help
+        " \| setlocal commentstring=//%s
+        " \| setlocal dictionary+=$MY_VIMRUNTIME/dict/php.dict
+        " \| setlocal complete-=i
+        " \| setlocal complete+=k$MY_VIMRUNTIME/dict/php.dict

-  autocmd BufRead,BufNew *ctp :setlocal  expandtab tabstop=2 softtabstop=2 shiftwidth=2
+  " autocmd BufRead,BufNew *ctp :setlocal  expandtab tabstop=2 softtabstop=2 shiftwidth=2

-  " 辞書作成
-  " php -r '$f=get_defined_functions();echo join("\n",$f["internal"]);' | sort > ~/.vim/dict/php.dict
+  " " 辞書作成
+  " " php -r '$f=get_defined_functions();echo join("\n",$f["internal"]);' | sort > ~/.vim/dict/php.dict

-  " surround.vim
-  autocmd FileType php let b:surround_{char2nr('e')} = "<?php echo \r; ?>"
-        \| let b:surround_{char2nr('p')} = "<?php \r; ?>"
-        \| let b:surround_{char2nr('i')} = "__('\r');"
-        \| let b:surround_{char2nr('I')} = "<?php echo __('\r'); ?>"
-        \| nmap g' cs'g
-        \| nmap G' cs'G
+  " " surround.vim
+  " autocmd FileType php let b:surround_{char2nr('e')} = "<?php echo \r; ?>"
+        " \| let b:surround_{char2nr('p')} = "<?php \r; ?>"
+        " \| let b:surround_{char2nr('i')} = "__('\r');"
+        " \| let b:surround_{char2nr('I')} = "<?php echo __('\r'); ?>"
+        " \| nmap g' cs'g
+        " \| nmap G' cs'G

-  autocmd FileType php nnoremap <silent><buffer><leader>ti :PhpStylist<cr>
-  autocmd FileType php vnoremap <silent><buffer><leader>ti :PhpStylist<cr>
+  " autocmd FileType php nnoremap <silent><buffer><leader>ti :PhpStylist<cr>
+  " autocmd FileType php vnoremap <silent><buffer><leader>ti :PhpStylist<cr>

-  autocmd FileType php nnoremap <buffer>ef :EnableFastPHPFolds<cr>
+  " autocmd FileType php nnoremap <buffer>ef :EnableFastPHPFolds<cr>

-  autocmd FileType php  inoremap <buffer><expr> > smartchr#one_of('>', '->', '=>', '>>')
+  " autocmd FileType php  inoremap <buffer><expr> > smartchr#one_of('>', '->', '=>', '>>')

-  " PDV - phpDocumentor for Vim :
-  autocmd FileType php nnoremap <buffer><leader>d :call PhpDocSingle()<cr>bcw
-  autocmd FileType php vnoremap <buffer><leader>d :call PhpDocRange()<cr>
-  autocmd FileType php let g:pdv_cfg_Author = g:opp_email
+  " " PDV - phpDocumentor for Vim :
+  " autocmd FileType php nnoremap <buffer><leader>d :call PhpDocSingle()<cr>bcw
+  " autocmd FileType php vnoremap <buffer><leader>d :call PhpDocRange()<cr>
+  " autocmd FileType php let g:pdv_cfg_Author = g:opp_email

-augroup END
+" augroup END

-augroup vimrc-ft-python  "{{{2
-  autocmd!
-  autocmd FileType python setlocal expandtab softtabstop=2 shiftwidth=2
-        \| setlocal omnifunc=pythoncomplete#Complete
-        \| let python_highlight_numbers=1
-        \| let python_highlight_builtins=1
-        \| let python_highlight_space_errors=1
-augroup ED
-
-augroup vimrc-ft-javascript  "{{{2
-  autocmd!
-  " jquery
-  autocmd BufRead,BufNewFile jquery.*.js :setlocal filetype=javascript syntax=jquery
-
-  autocmd FileType javascript setlocal expandtab softtabstop=2 shiftwidth=2
-        \| setlocal foldmethod=marker
-        \| setlocal omnifunc=javascriptcomplete#CompleteJS
-        \| setlocal dictionary+=$MY_VIMRUNTIME/dict/javascript.dict
-        \| setlocal complete+=k$MY_VIMRUNTIME/dict/javascript.dict
-
-  " tidy
-  autocmd FileType javascript nnoremap <silent><buffer><leader>ti :call JsBeautify()<cr>
-  " jsdoc
-  autocmd FileType javascript nmap <silent> <leader>d <Plug>(jsdoc)
-augroup END
+" augroup vimrc-ft-python  "{{{2
+  " autocmd!
+  " autocmd FileType python setlocal expandtab softtabstop=2 shiftwidth=2
+        " \| setlocal omnifunc=pythoncomplete#Complete
+        " \| let python_highlight_numbers=1
+        " \| let python_highlight_builtins=1
+        " \| let python_highlight_space_errors=1
+" augroup ED
+
+" augroup vimrc-ft-javascript  "{{{2
+  " autocmd!
+  " " jquery
+  " autocmd BufRead,BufNewFile jquery.*.js :setlocal filetype=javascript syntax=jquery
+
+  " autocmd FileType javascript setlocal expandtab softtabstop=2 shiftwidth=2
+        " \| setlocal foldmethod=marker
+        " \| setlocal omnifunc=javascriptcomplete#CompleteJS
+        " \| setlocal dictionary+=$MY_VIMRUNTIME/dict/javascript.dict
+        " \| setlocal complete+=k$MY_VIMRUNTIME/dict/javascript.dict
+
+  " " tidy
+  " autocmd FileType javascript nnoremap <silent><buffer><leader>ti :call JsBeautify()<cr>
+  " " jsdoc
+  " autocmd FileType javascript nmap <silent> <leader>d <Plug>(jsdoc)
+" augroup END

-augroup vimrc-ft-json  "{{{2
-  autocmd!
-  autocmd FileType json setlocal expandtab softtabstop=2 shiftwidth=2
-        \| setlocal conceallevel=0
-        \| setlocal foldmethod=syntax
+" augroup vimrc-ft-json  "{{{2
+  " autocmd!
+  " autocmd FileType json setlocal expandtab softtabstop=2 shiftwidth=2
+        " \| setlocal conceallevel=0
+        " \| setlocal foldmethod=syntax

-  autocmd FileType json nnoremap <silent><buffer><leader>ti :call JsBeautify()<cr>
-augroup END
+  " autocmd FileType json nnoremap <silent><buffer><leader>ti :call JsBeautify()<cr>
+" augroup END

-augroup vimrc-ft-coffeescript  "{{{2
-" https://github.com/kchmck/vim-coffee-script
-  autocmd!
-  au BufWritePost *.coffee silent CoffeeMake! -b | cwindow | redraw!
-augroup END
+" augroup vimrc-ft-coffeescript  "{{{2
+" " https://github.com/kchmck/vim-coffee-script
+  " autocmd!
+  " au BufWritePost *.coffee silent CoffeeMake! -b | cwindow | redraw!
+" augroup END

-augroup vimrc-ft-html  "{{{2
-  autocmd!
-  autocmd FileType html setlocal omnifunc=htmlcomplete#CompleteTags
-  autocmd FileType xml setlocal omnifunc=xmlcomplete#CompleteTags
-  autocmd FileType html,xhtml,xml,xslt setlocal expandtab softtabstop=2 shiftwidth=2
-  autocmd FileType html,xhtml :setlocal path+=$HOME.'Sites'
-        \| :setlocal includeexpr=substitute(v:fname,'^\\/','','')
-  autocmd FileType html,xhtml nnoremap <silent><buffer><leader>ti :call HtmlBeautify()<cr>
-
-  " xmllintによる XMLの検証と整形
-  " http://nanasi.jp/articles/others/xmllint.html
-  autocmd FileType xml exe ":silent 1,$!xmllint --format --recover - 2>/dev/null"
-augroup END
+" augroup vimrc-ft-html  "{{{2
+  " autocmd!
+  " autocmd FileType html setlocal omnifunc=htmlcomplete#CompleteTags
+  " autocmd FileType xml setlocal omnifunc=xmlcomplete#CompleteTags
+  " autocmd FileType html,xhtml,xml,xslt setlocal expandtab softtabstop=2 shiftwidth=2
+  " autocmd FileType html,xhtml :setlocal path+=$HOME.'Sites'
+        " \| :setlocal includeexpr=substitute(v:fname,'^\\/','','')
+  " autocmd FileType html,xhtml nnoremap <silent><buffer><leader>ti :call HtmlBeautify()<cr>
+
+  " " xmllintによる XMLの検証と整形
+  " " http://nanasi.jp/articles/others/xmllint.html
+  " autocmd FileType xml exe ":silent 1,$!xmllint --format --recover - 2>/dev/null"
+" augroup END

-augroup vimrc-ft-slim  "{{{2
-  autocmd!
-  autocmd BufRead,BufNew *slim :setlocal filetype=slim
-  autocmd FileType css setlocal expandtab softtabstop=2 shiftwidth=2
-        \| setlocal omnifunc=htmlcomplete#CompleteTags
-augroup END
+" augroup vimrc-ft-slim  "{{{2
+  " autocmd!
+  " autocmd BufRead,BufNew *slim :setlocal filetype=slim
+  " autocmd FileType css setlocal expandtab softtabstop=2 shiftwidth=2
+        " \| setlocal omnifunc=htmlcomplete#CompleteTags
+" augroup END

-augroup vimrc-ft-css  "{{{2
-  " http://d.hatena.ne.jp/secondlife/20060831/1157010796#20060831f1
-  " http://subtech.g.hatena.ne.jp/antipop/20060831/1157024857
-  autocmd!
-  autocmd BufRead,BufNew *scss :setlocal filetype=css
-  autocmd FileType css setlocal expandtab softtabstop=2 shiftwidth=2
-        \| setlocal omnifunc=csscomplete#CompleteCSS
-  autocmd FileType css,scss nnoremap <silent><buffer><leader>ti :call CSSBeautify()<cr>
-augroup END
+" augroup vimrc-ft-css  "{{{2
+  " " http://d.hatena.ne.jp/secondlife/20060831/1157010796#20060831f1
+  " " http://subtech.g.hatena.ne.jp/antipop/20060831/1157024857
+  " autocmd!
+  " autocmd BufRead,BufNew *scss :setlocal filetype=css
+  " autocmd FileType css setlocal expandtab softtabstop=2 shiftwidth=2
+        " \| setlocal omnifunc=csscomplete#CompleteCSS
+  " autocmd FileType css,scss nnoremap <silent><buffer><leader>ti :call CSSBeautify()<cr>
+" augroup END

-augroup vimrc-ft-markdown  "{{{2
-  autocmd!
-  autocmd BufRead,BufNew *mkd, *.md, *markdown :setlocal filetype=markdown
-  autocmd FileType markdown setlocal omnifunc=htmlcomplete#CompleteTags
-  autocmd FileType markdown vnoremap <silent><buffer>ml :MyList -<CR>
-  autocmd FileType markdown vnoremap <silent><buffer>mc :MyList -[ ]<CR>
-  autocmd FileType markdown vnoremap <silent><buffer>mo :MyList 1.<CR>
-  autocmd FileType markdown call s:set_markdown_trailing_space_highlight()
-augroup END
+" augroup vimrc-ft-markdown  "{{{2
+  " autocmd!
+  " autocmd BufRead,BufNew *mkd, *.md, *markdown :setlocal filetype=markdown
+  " autocmd FileType markdown setlocal omnifunc=htmlcomplete#CompleteTags
+  " autocmd FileType markdown vnoremap <silent><buffer>ml :MyList -<CR>
+  " autocmd FileType markdown vnoremap <silent><buffer>mc :MyList -[ ]<CR>
+  " autocmd FileType markdown vnoremap <silent><buffer>mo :MyList 1.<CR>
+  " autocmd FileType markdown call s:set_markdown_trailing_space_highlight()
+" augroup END

-let g:markdown_fenced_languages = [
-\  'coffee',
-\  'css',
-\  'php',
-\  'perl',
-\  'sh',
-\  'html',
-\  'erb=eruby',
-\  'javascript',
-\  'js=javascript',
-\  'json=javascript',
-\  'ruby',
-\  'sass',
-\  'xml',
-\]
-
-augroup vimrc-ft-sh  "{{{2
-  autocmd!
-  autocmd FileType sh setlocal expandtab softtabstop=2 shiftwidth=2
-augroup END
+" let g:markdown_fenced_languages = [
+" \  'coffee',
+" \  'css',
+" \  'php',
+" \  'perl',
+" \  'sh',
+" \  'html',
+" \  'erb=eruby',
+" \  'javascript',
+" \  'js=javascript',
+" \  'json=javascript',
+" \  'ruby',
+" \  'sass',
+" \  'xml',
+" \]
+
+" augroup vimrc-ft-sh  "{{{2
+  " autocmd!
+  " autocmd FileType sh setlocal expandtab softtabstop=2 shiftwidth=2
+" augroup END

-augroup vimrc-ft-yaml  "{{{2
-  autocmd!
-  autocmd FileType yaml setlocal expandtab softtabstop=2 shiftwidth=2
-augroup END
+" augroup vimrc-ft-yaml  "{{{2
+  " autocmd!
+  " autocmd FileType yaml setlocal expandtab softtabstop=2 shiftwidth=2
+" augroup END

-augroup vimrc-ft-svn  "{{{2
-  autocmd!
-  autocmd FileType svn setlocal fileencoding=utf-8
-augroup END
+" augroup vimrc-ft-svn  "{{{2
+  " autocmd!
+  " autocmd FileType svn setlocal fileencoding=utf-8
+" augroup END

-augroup vimrc-ft-gitignore  "{{{2
-  autocmd!
-  autocmd BufRead,BufNew .gitignore :setlocal filetype=conf
-augroup END
+" augroup vimrc-ft-gitignore  "{{{2
+  " autocmd!
+  " autocmd BufRead,BufNew .gitignore :setlocal filetype=conf
+" augroup END

-augroup vimrc-ft-hatena  "{{{2
-  autocmd!
-  autocmd FileType hatena setlocal expandtab softtabstop=2 shiftwidth=2
-  autocmd FileType hatena vnoremap <silent><buffer>ml :MyList -<cr>
-  autocmd FileType hatena vnoremap <silent><buffer>mo :MyList +<cr>
-  autocmd FileType hatena vnoremap <silent><buffer>sp :HatenaSuperPre<cr>
-augroup END
+" augroup vimrc-ft-hatena  "{{{2
+  " autocmd!
+  " autocmd FileType hatena setlocal expandtab softtabstop=2 shiftwidth=2
+  " autocmd FileType hatena vnoremap <silent><buffer>ml :MyList -<cr>
+  " autocmd FileType hatena vnoremap <silent><buffer>mo :MyList +<cr>
+  " autocmd FileType hatena vnoremap <silent><buffer>sp :HatenaSuperPre<cr>
+" augroup END

-command! -range=% -buffer HatenaSuperPre call s:hatena_supper_pre(<line1>, <line2>)
-function! s:hatena_supper_pre(line1, line2)
-  call append(a:line1 - 1, '>||')
-  call append(a:line2 + 1, '||<')
-endfunction
+" command! -range=% -buffer HatenaSuperPre call s:hatena_supper_pre(<line1>, <line2>)
+" function! s:hatena_supper_pre(line1, line2)
+  " call append(a:line1 - 1, '>||')
+  " call append(a:line2 + 1, '||<')
+" endfunction

 " Function:  "{{{1
@@ -1308,57 +1305,57 @@ endfunction
 " Plugins: "{{{1

 " eregex.vim  "{{{2
-let s:bundle = neobundle#get('eregex.vim')
-function! s:bundle.hooks.on_source(bundle)
-  let g:eregex_default_enable = 0
-  " http://www.vector.co.jp/soft/unix/writing/se265654.html
-  " :%s # vimの正規表現による置換
-  " :%S # eregexの正規表現vimによる置換
-  " :%g # vimの(ry
-  " :%G # eregexの(ry
-  " / # vimの(ry
-  " :M/ # eregex の(ry
-  nnoremap / :set noincsearch<cr>:set hlsearch<cr>:M/
-  " org
-  nnoremap ,/ :set noincsearch<cr>:set hlsearch<cr>/
-endfunction
-unlet s:bundle
+" let s:bundle = neobundle#get('eregex.vim')
+" function! s:bundle.hooks.on_source(bundle)
+  " let g:eregex_default_enable = 0
+  " " http://www.vector.co.jp/soft/unix/writing/se265654.html
+  " " :%s # vimの正規表現による置換
+  " " :%S # eregexの正規表現vimによる置換
+  " " :%g # vimの(ry
+  " " :%G # eregexの(ry
+  " " / # vimの(ry
+  " " :M/ # eregex の(ry
+  " nnoremap / :set noincsearch<cr>:set hlsearch<cr>:M/
+  " " org
+  " nnoremap ,/ :set noincsearch<cr>:set hlsearch<cr>/
+" endfunction
+" unlet s:bundle

 " migemo-search.vim  "{{{2
-let s:bundle = neobundle#get('migemo-search.vim')
-function! s:bundle.hooks.on_source(bundle)
-  if executable('cmigemo')
-    cnoremap <expr><CR> migemosearch#replace_search_word()."\<CR>"
-  endif
-endfunction
-unlet s:bundle
+" let s:bundle = neobundle#get('migemo-search.vim')
+" function! s:bundle.hooks.on_source(bundle)
+  " if executable('cmigemo')
+    " cnoremap <expr><CR> migemosearch#replace_search_word()."\<CR>"
+  " endif
+" endfunction
+" unlet s:bundle

 " vim-smartchr  "{{{2
-let s:bundle = neobundle#get('vim-smartchr')
-function! s:bundle.hooks.on_source(bundle)
-endfunction
-unlet s:bundle
+" let s:bundle = neobundle#get('vim-smartchr')
+" function! s:bundle.hooks.on_source(bundle)
+" endfunction
+" unlet s:bundle

 " vim-smartinput  "{{{2
-let s:bundle = neobundle#get('vim-smartinput')
-function! s:bundle.hooks.on_source(bundle)
-endfunction
-unlet s:bundle
+" let s:bundle = neobundle#get('vim-smartinput')
+" function! s:bundle.hooks.on_source(bundle)
+" endfunction
+" unlet s:bundle

 " previm  "{{{2
-let s:bundle = neobundle#get('previm')
-function! s:bundle.hooks.on_source(bundle)
+" let s:bundle = neobundle#get('previm')
+" function! s:bundle.hooks.on_source(bundle)
   let g:previm_open_cmd = "open"
-endfunction
-unlet s:bundle
+" endfunction
+" unlet s:bundle

 " phpstylist.vim  "{{{2
-let s:bundle = neobundle#get('phpstylist.vim')
-function! s:bundle.hooks.on_source(bundle)
+" let s:bundle = neobundle#get('phpstylist.vim')
+" function! s:bundle.hooks.on_source(bundle)
   let g:phpstylist_cmd_path = $MY_VIMRUNTIME . '/tools/phpStylist.php'
   let g:phpstylist_options = {
       \ 'default' : [
@@ -1455,31 +1452,31 @@ function! s:bundle.hooks.on_source(bundle)
         \ '--line_after_break '
       \]
     \}
-endfunction
-unlet s:bundle
+" endfunction
+" unlet s:bundle

 " PDV - phpDocumentor for Vi  "{{{2
 " http://www.vim.org/scripts/script.php?script_id=1355
-let s:bundle = neobundle#get('PDV--phpDocumentor-for-Vim')
-function! s:bundle.hooks.on_source(bundle)
+" let s:bundle = neobundle#get('PDV--phpDocumentor-for-Vim')
+" function! s:bundle.hooks.on_source(bundle)
   let g:pdv_cfg_Package = ""
   let g:pdv_cfg_Copyright = ""
   let g:pdv_cfg_Version = "$id$"
   let g:pdv_cfg_Author = g:opp_email
   let g:pdv_cfg_php4guessval = 'private'
   let g:pdv_re_bool = "\(true\|false\)"
-endfunction
-unlet s:bundle
+" endfunction
+" unlet s:bundle

 " phpfolding.vim "{{{2
 " https://github.com/vim-scripts/phpfolding.vim
-let s:bundle = neobundle#get('phpfolding.vim')
-function! s:bundle.hooks.on_source(bundle)
+" let s:bundle = neobundle#get('phpfolding.vim')
+" function! s:bundle.hooks.on_source(bundle)
   let g:DisableAutoPHPFolding = 1
-endfunction
-unlet s:bundle
+" endfunction
+" unlet s:bundle

 " matchparen  "{{{2
@@ -1539,8 +1536,8 @@ let g:ref_alc_start_linenumber = 45

 " unite.vim "{{{2
-let s:bundle = neobundle#get('unite.vim')
-function! s:bundle.hooks.on_source(bundle)
+" let s:bundle = neobundle#get('unite.vim')
+" function! s:bundle.hooks.on_source(bundle)
   let g:unite_source_file_mru_limit = 200
   let g:unite_source_file_mru_filename_format = ''
   let g:unite_data_directory = $MY_VIMRUNTIME . '/.vim/unite'
@@ -1559,10 +1556,10 @@ function! s:bundle.hooks.on_source(bundle)
           \ }')
     return candidates
   endfunction
-  call unite#define_source(s:unite_git_files_conflict)
+  " call unite#define_source(s:unite_git_files_conflict)

-endfunction
-unlet s:bundle
+" endfunction
+" unlet s:bundle

 nnoremap <silent>uo :<C-u>Unite outline<CR>

@@ -1766,9 +1763,9 @@ let g:lightline = {
 " Vim Starting:  "{{{1
 " http://d.hatena.ne.jp/thinca/20100619/1276915771
 if has('vim_starting')
-  if filereadable($HOME . '/.vimrc.local')
-    source $HOME/.vimrc.local
-  endif
+  " if filereadable($HOME . '/.vimrc.local')
+    " source $HOME/.vimrc.local
+  " endif

   " http://nanasi.jp/articles/vim/matchit_vim.html
   source $VIMRUNTIME/macros/matchit.vim