2010-02-26colorschemeを選ぶミニバッファ

vim colorscheme selector — Gistが素晴らしかったのでforkしてみました。
追記:
なんだかgithubのシンタックスハイライトのせいでひどく見にくいのでここに書いておく。
fun! s:SelectColorS() 30vnew let files = split(globpath(&rtp, 'colors/*.vim'), "\n") for idx in range(0, len(files) - 1) let file = files[idx] let name = matchstr(file , '\w\+\(\.vim\)\@=') call setline(idx + 1, name) endfor file ColorSchemeSelector setlocal bufhidden=wipe setlocal buftype=nofile setlocal nonu setlocal nomodifiable setlocal cursorline nmap <buffer> <Enter> :<C-u>exec 'colors' getline('.')<CR> nmap <buffer> q :<C-u>close<CR> endf com! SelectColorS :cal s:SelectColorS()
コメントを書く
Joyelle2011/11/23 17:30Finlaly! This is just what I was looking for.
zhrhzugjy2011/11/24 19:35fIlLz1 <a href="http://qkkmcepdxwur.com/">qkkmcepdxwur</a>
ochaprn2011/11/25 00:50uWFcfd , [url=http://wvehlnmrctaq.com/]wvehlnmrctaq[/url], [link=http://ygeuyocugjgr.com/]ygeuyocugjgr[/link], http://udnacwonqhnk.com/
izuiqelnt2011/12/01 02:59IQyV3E <a href="http://zprijwrgwdqz.com/">zprijwrgwdqz</a>
gmxomzxlzaq2011/12/05 01:35O5N24z , [url=http://ainyraxtmawx.com/]ainyraxtmawx[/url], [link=http://crcpgsrazhuo.com/]crcpgsrazhuo[/link], http://hnekrxyzscwp.com/
トラックバック - http://vim.g.hatena.ne.jp/tyru/20100226