Skip to content

arpanpal010/vim-read

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vim-read

Make Vim read text out loud!

(Works on Linux only)

About

This plugin uses the mpv player and GoogleTTS to convert text to voice, makes it nice to use from Vim.

Features:

  • convenient (but non-intrusive) mappings
  • reads in the background so you can actively use Vim while listening
  • ability to stop reading at any moment
  • makes sure only one voice is reading at the time, no overlay
  • quitting Vim stops reading

Mappings

  • yr<motion> - read operator (mnemonic for: "You Read <motion>")
  • yrr - read the current line
  • yrs - stop reading (mnemonic for: "You Read Stop")

Visual mode mappings:

  • CTRL-R - reads visual selection

Use scenarios

Situations when I use this plugin:

  • checking long program input I had to type in manually, example: I wanna check I correctly typed a long range of numbers that are an input for the algorithm (0 9 1 -4 2 11 4 8 -3 0 ...)
  • reading an email I wrote so I can focus on how it sounds

Installation

Just use your favorite plugin manager.

License

MIT

About

📢 Make Vim read text out loud!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Vim Script 100.0%