Unfortunately Rdio has shut down, so this plugin is no longer maintained. 😢
potentially as useful as Fugitive
Requirements:
- OS X Yosemite, since it uses Yosemite's Javascript for Automation extensively
- fzf (
brew install fzf
), with the Vim plugin set up - fzf requires the
curses
Rubygem:gem install curses
- You must be using Google Chrome or Safari (Firefox's Applescript does not support sending JS to a tab)
Install this plugin with your preferred Vim plugin manager, like Vundle or pathogen.
Now you have some neat Vim commands:
:RdioPlaylists
, which lets you fuzzy-find through your Rdio playlists:RdioPlayPause
, which plays/pauses Rdio:RdioNext
, which goes to the next track:RdioFavorites
, which plays only your favorited tracks
You might want to add mappings for them:
nnoremap <Leader>rp :RdioPlayPause<CR>
nnoremap <Leader>rl :RdioPlaylists<CR>
nnoremap <Leader>rn :RdioNext<CR>
nnoremap <Leader>rf :RdioFavorites<CR>
- The
plugin/
directory containsrdio.vim
, which is not auto-generated, andplugin/applescripts/
, which is auto-generated - The
js/
directory contains JS which is minified as part of the build process - The
applescripts/
directory contains files which use Erb to bring in and minify the JS, then are copied toplugin/applescripts/
.
To re-generate the files in plugin/applescripts/
, run rake
. Don't edit them
directly.