Skip to content

Instantly share code, notes, and snippets.

@scriptype
Created May 25, 2017 02:17
Show Gist options
  • Save scriptype/02101cfa0e47da187f9593ad91fcab4e to your computer and use it in GitHub Desktop.
Save scriptype/02101cfa0e47da187f9593ad91fcab4e to your computer and use it in GitHub Desktop.
Pronounce words in Vim using `espeak` instead of `say`
nnoremap <silent> <leader>s :<C-u>call system('espeak ' . expand('<cword>'))<CR>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment