🎶 A minimal Neovim plugin for interacting with the foobar2000 audio player.
{
'vyfor/foobar2000.nvim',
}
require('foobar2000').setup({
path = 'foobar2000.exe', -- Path to the foobar2000 executable (optional)
seek_duration = '30s', -- Default seek duration, can be one of: 1s, 5s, 10s, 30s, 1m, 5m, 10m
})
FoobarAdd <files>
- Appends the specified files to the current playlist instead. UsingFoobarAdd!
bypasses the "please wait" dialog.FoobarPlay
- Starts playback.FoobarPause
- Pauses the player.FoobarPrev
- Plays the previous track in the current playlist.FoobarNext
- Plays the next track in the current playlist.FoobarStop
- Stops playback.FoobarRand
- Plays a random track in the current playlist.FoobarShuffle <option>
- Sets the shuffle mode of the current playlist. Available options are:tracks
,albums
,playlists
oroff
.FoobarRepeatTrack
- Repeats the current track.FoobarRepeatPlaylist
- Repeats the current playlist.FoobarRepeatOff
- Disables the repeat mode.FoobarSeekAhead <option>
- Seeks ahead the current track. Available options are:1s
,5s
,10s
,30s
,1m
,5m
,10m
.FoobarSeekBack <option>
- Seeks back the current track. Available options are:1s
,5s
,10s
,30s
,1m
,5m
,10m
.FoobarVolumeUp
- Increases the volume.FoobarVolumeDown
- Decreases the volume.FoobarVolume <option>
- Sets the volume. Available options are:0
,-3
,-6
,-9
,-12
,-15
,-18
,-21
FoobarMute
- Mutes the volume.FoobarShow
- Shows the main foobar2000 window.FoobarHide
- Hides the main foobar2000 window.FoobarExit
- Exits foobar2000.FoobarCommand <command>
- Sends the specified command to foobar2000. The list of available commands can be found under "Preferences > Keyboard Shortcuts".
This project is in beta. Feel free to open an issue or pull request for missing features. You can also contact me on Discord vyfor if you have any questions.