reverb.nvim is a Neovim plugin that adds sound effects to specific autocmd events. With this plugin, you can enhance your Neovim experience by associating various sounds with different actions, providing an auditory dimension to your coding environment.
github.mp4
⭐ Turn sound on
Any suggestions or help is welcome and appreciated 😄
Sound files cam be played with paplay
, pw-play
or mpv
. Check with your local package manager if you're not sure.
To get started, configure the plugin's options in your Neovim configuration. Here's an example of customizing the sounds using Lazy:
{
"whleucka/reverb.nvim",
event = "BufReadPre",
opts = {
player = "paplay", -- options: paplay (default), pw-play, mpv
max_sounds = 20, -- Limit the amount of sounds that can play at the same time
sounds = {
-- add custom sound paths for other events here
-- eg. EVENT = "/some/path/to/sound.mp3"
BufRead = { path = sound_dir .. "start.ogg", volume = 0-100 },
CursorMovedI = { path = sound_dir .. "click.ogg", volume = 0-100 },
InsertLeave = { path = sound_dir .. "toggle.ogg", volume = 0-100 },
ExitPre = { path = sound_dir .. "exit.ogg", volume = 0-100 },
BufWrite = { path = sound_dir .. "save.ogg", volume = 0-100 },
},
},
}
Sounds can be enabled with :ReverbEnable
and disabled with :ReverbDisable
.
- By default, reverb.nvim does not ship with any sounds.
- Free (CC0) interface sounds at https://www.kenney.nl/assets/interface-sounds
This project is licensed under the MIT License.