unite.vim でコマンドのランチャー

元々、よく使用するコマンドはキーマップに設定して呼び出しを行なっていたのですが、流石に覚えきれなくなってきたので unite.vim を使用してみました。
まぁこういう風に使っている人は多そうですが。

[プラグイン]

[vimrc]

" unite-launcher
" コマンドを登録して unite.vim で選択して起動

let s:unite_source = {
\   "name" : "shortcut"
\}

function! s:unite_source.gather_candidates(args, context)
    let cmds = {
\       "C++ Test"  : "VimFiler $TEST_CPP",
\       "ghci"      : "VimShellInteractive ghci",
\       "python"    : "VimShellInteractive python",
\       "Unite Beautiful Attack" : "Unite -auto-preview colorscheme"
\       "Boost.MPL Ref" : "OpenBrowser http://www.boost.org/doc/libs/release/libs/mpl/doc/refmanual/refmanual_toc.html",
\   }

    return values(map(cmds, "{
\       'word' : v:key,
\       'source' : 'shortcut',
\       'kind' : 'command',
\       'action__command' : v:val
\   }"))
endfunction

call unite#define_source(s:unite_source)

" 呼び出しのキーマップ
nnoremap <silent> <Space>ll :Unite shortcut<CR>

ふむ、なかなかよさげですね。
もうちょっといろんな事に応用出来そう。

[追記]

『launcher』だと名前が被っていたので変更。