DEV Community

Cover image for Vim 2022: 🍷 Play typewriter sound in Vim when you are typing a letter
Linwei
Linwei

Posted on

Vim 2022: 🍷 Play typewriter sound in Vim when you are typing a letter

It's cool to play typewriter sound in Vim when you are typing a letter. 😎

So I made a little [script] for this:

Plug 'skywind3000/vim-keysound'
let g:keysound_enable = 1
let g:keysound_theme = 'default'

" volume range is from 0 to 1000
let g:keysound_volume = 500   
Enter fullscreen mode Exit fullscreen mode

Then

apt-get install python3-sdl2
Enter fullscreen mode Exit fullscreen mode

Make sure that your vim has +python3 feature enabled.

And you go.

See this video by Keefle (there is no audio delay in reality).

Discussion (0)