KadoBOT / nvim-spotify

For productivity addicts who enjoy coding while listening to Spotify, and cannot lose their focus switching to the app to control their music.
GNU General Public License v3.0
182 stars 5 forks source link

[Feature Request] Function for previous track #10

Closed maxmahlke closed 2 years ago

maxmahlke commented 2 years ago

Pretty self-explanatory, it'd be great to have something like

vim.api.nvim_set_keymap("n", "<leader>sb", ":call SpotifyPlayback('previous')<CR>",
                        {silent = true}) -- Play the previous track
KadoBOT commented 2 years ago

Good idea! I'll add that. Thanks!