2011-04-05から1日間の記事一覧

unite-vimshell/history で <C-y>で挿入する

vim

unite-vimshell/history はデフォルトのアクションが実行なのだけど、履歴を編集したい場合もあるので、<C-y> に挿入を割り当てる。 " after/ftplugin/unite.vim let s:context = unite#get_context() if s:context.buffer_name ==# 'completion' inoremap <buffer> <expr> <C-y> uni</c-y></expr></buffer></c-y>…