(」・ω・)」quick!(/・ω・)/run!

かわいい。

[quickrun-hook]

"unite-hook-u-nya- {{{
let s:hook = {
\    "name" : "u_nya_",
\    "kind" : "hook",
\    "index_counter" : 0,
\    "config" : {
\        "enable" : 0
\}
\}

function! s:hook.on_ready(session, context)
    let self.index_counter = -2
endfunction

function! s:hook.on_output(session, context)
    let self.index_counter += 1
    if self.index_counter < 0
        return
    endif
    let aa_list = [
\        "(」・ω・)」うー!",
\        "(/・ω・)/にゃー!"
\    ]
    echo aa_list[ self.index_counter / 12 % len(aa_list)  ]
endfunction

function! s:hook.on_exit(...)
    echo "Let's\(・ω・)/にゃー!"
endfunction

call quickrun#module#register(s:hook, 1)
unlet s:hook
" }}}


思ったよりもかわいかった。
成功した場合と失敗した場合で出力する顔文字を変えてもいいかも知れない。
ちなみにホモォは走らせる予定はありませんよ?