"============================================================================= " FILE: unite.vim " AUTHOR: Shougo Matsushita " License: MIT license "============================================================================= if exists('g:loaded_unite') finish elseif v:version < 703 echoerr 'unite.vim does not work this version of Vim "' . v:version . '".' finish endif let s:save_cpo = &cpo set cpo&vim " Wrapper commands. command! -nargs=* -range -complete=customlist,unite#complete#source \ Unite \ call unite#helper#call_unite('Unite', , , ) command! -nargs=* -range -complete=customlist,unite#complete#source \ UniteWithCurrentDir \ call unite#helper#call_unite('UniteWithCurrentDir', , , ) command! -nargs=* -range -complete=customlist,unite#complete#source \ UniteWithBufferDir \ call unite#helper#call_unite('UniteWithBufferDir', , , ) command! -nargs=* -range -complete=customlist,unite#complete#source \ UniteWithProjectDir \ call unite#helper#call_unite('UniteWithProjectDir', , , ) command! -nargs=* -range -complete=customlist,unite#complete#source \ UniteWithInputDirectory \ call unite#helper#call_unite('UniteWithInputDirectory', , , ) command! -nargs=* -range -complete=customlist,unite#complete#source \ UniteWithCursorWord \ call unite#helper#call_unite('UniteWithCursorWord', , , ) command! -nargs=* -range -complete=customlist,unite#complete#source \ UniteWithInput \ call unite#helper#call_unite('UniteWithInput', , , ) command! -nargs=* -complete=customlist,unite#complete#buffer_name \ UniteResume \ call unite#helper#call_unite_resume() command! -nargs=? -bar -complete=customlist,unite#complete#buffer_name \ UniteClose call unite#view#_close() command! -count=1 -bar -nargs=? -complete=customlist,unite#complete#buffer_name \ UniteNext call unite#start#_pos(, 'next', expand('')) command! -count=1 -bar -nargs=? -complete=customlist,unite#complete#buffer_name \ UnitePrevious call unite#start#_pos(, 'previous', expand('')) command! -nargs=? -bar -complete=customlist,unite#complete#buffer_name \ UniteFirst call unite#start#_pos(, 'first', 1) command! -nargs=? -bar -complete=customlist,unite#complete#buffer_name \ UniteLast call unite#start#_pos(, 'last', 1) command! -nargs=1 -complete=command \ UniteDo call unite#start#_do_command() let g:loaded_unite = 1 let &cpo = s:save_cpo unlet s:save_cpo " __END__ " vim: foldmethod=marker