Created
June 24, 2013 09:44
-
-
Save mre/5848964 to your computer and use it in GitHub Desktop.
Mac Vim text to speech. Put this into your vimrc and hit <leader>v in visual selection mode to read the selected text. Great for proof reading. ;-)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Mac specific: Text-to-speech on selected text in visual mode | |
" w: Don't replace selection with command output after execution | |
" silent: Don't prompt for enter after execution | |
:vnoremap <leader>v :w<Home>silent <End> !say <CR> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment