めっちゃしゃべる
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
autoload
doc
plugin
README.mkd

README.mkd

Shaberu.vim

Shaberu.vim is the wrapper of speech synethis. You can make your vim speak easily with Shaberu.vim.

Install

Put following lines into your .vimrc.

NeoBundle 'Shougo/unite.vim'
NeoBundle 'Shougo/vimproc'
NeoBundle 'supermomonga/shaberu.vim'

Then, execute :Unite neobundle/update

Configuration

If you use Mac OS X or Windows, you don't need to do anything. If you use other OS like Linux, you need to set g:shaberu_user_define_say_command.

let g:shaberu_user_define_say_command = 'saycommand "%%TEXT%%"'

Shaberu convert %%TEXT%% to the text to speak.

Example

" Speak Japanese voice on OS X
let g:shaberu_user_define_say_command = 'say -v Kyoko "%%TEXT%%"'

Usage

Simplly, execute :ShaberuSay command to speak text.

:ShaberuSay Hi! I'm vim!

More futures

Shaberu.vim has more futures, like Mute toggle, outputter for QuickRun.vim , and others. See :h shaberu.