Geek Posted July 5, 2011 Posted July 5, 2011 <div class="KonaBody"><p><img src="http://osxdaily.com/wp-content/uploads/2011/07/itunes-vim.jpg" alt="ViTunes command line iTunes player" title="itunes-vim" width="620" height="367" class="aligncenter size-full wp-image-18277" /></p> <p>If you just want a basic command line mp3 player, you could <a href="http://osxdaily.com/2010/12/07/command-line-mp3-player-in-mac-os-x/">use afplay</a>, but if that’s not enough for you, install ViTunes. The little VIM plugin gives you full access to iTunes directly from the command line text editor VIM, but don’t be fooled into thinking it’s just a boring old music player, it actually has some nice features, including:</p> <ul> <li>Keyboard-only based controls</li> <li>Control iTunes from another computer via SSH</li> <li>Let multiple users access and control iTunes from SSH</li> <li>Controlling iTunes without ever leaving VIM</li> <li>Navigate your music, manage playlists, copy tracks, control volume, all from Vim</li> <li>Accessible through a linux client too</li> </ul> <p>Installing ViTunes is easy, but first you’ll need to make sure you have Ruby 1.8.6 or higher installed, Mac OS X 10.6 or later, and Vim 7.2 or greater, then it’s just a matter of launching the Terminal and installing the plugin (it goes into ~/.vim/plugin/ if you’re wondering):</p> <p><code>gem install vitunes</code></p> <p>Now if your $PATH is properly configured you can just type ‘vitunes-install’ but that didn’t work for me, so you can try this command instead:</p> <p><code>sudo gem install vitunes-install</code></p> <p>Once it’s installed you can launch it directly by typing ‘vitunes’ or by hitting ,i within Vim. </p> <p><a href="http://danielchoi.com/software/vitunes.html">Get more info and keystroke information from the developers page, DanielChoi.com</a></p> <p>This app is obviously geared towards people who have prior <a href="http://osxdaily.com/category/command-line/">command line</a> experience, and many of the keystrokes will be familiar to those who do.</p> <p><span id="more-18276"></span></p> <p>Basic ViTunes player commands:</p> <ul> <li>Spacebar to play and pause</li> <li>Hitting Enter starts playing the highlighted song</li> <li>+ to increase volume</li> <li>- to lower volume</li> <li>Shift , and . to go back or forward</li> <li>,s to search iTunes library</li> <li>,p selects playlist</li> <li>,a selects artist</li> </ul> <p>There are many more commands to manipulate the player so be sure to check out the devs web page for those.</p> <p><img src="http://osxdaily.com/wp-content/uploads/2011/07/command-line-itunes-player-vitunes.gif" alt="Command line iTunes player" title="command-line-itunes-player-vitunes" width="620" height="351" class="aligncenter size-full wp-image-18282" /></p> <p>This is a nice little find from <a href="http://www.macworld.com/article/160936/2011/07/vitunes.html">MacWorld</a></p> </div> <p><a href="http://feedads.g.doubleclick.net/~a/boeUhwMtvIX1i7KiZdCwZl-8woE/0/da"><img src="http://feedads.g.doubleclick.net/~a/boeUhwMtvIX1i7KiZdCwZl-8woE/0/di" border="0" ismap="true"></img></a><br/> <a href="http://feedads.g.doubleclick.net/~a/boeUhwMtvIX1i7KiZdCwZl-8woE/1/da"><img src="http://feedads.g.doubleclick.net/~a/boeUhwMtvIX1i7KiZdCwZl-8woE/1/di" border="0" ismap="true"></img></a></p><div class="feedflare"> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=mxjNe8Fxr_w:4Uo8F_pZq5c:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/osxdaily?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=mxjNe8Fxr_w:4Uo8F_pZq5c:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/osxdaily?i=mxjNe8Fxr_w:4Uo8F_pZq5c:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=mxjNe8Fxr_w:4Uo8F_pZq5c:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/osxdaily?i=mxjNe8Fxr_w:4Uo8F_pZq5c:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=mxjNe8Fxr_w:4Uo8F_pZq5c:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/osxdaily?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=mxjNe8Fxr_w:4Uo8F_pZq5c:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/osxdaily?d=qj6IDK7rITs" border="0"></img></a> </div><img src="http://feeds.feedburner.com/~r/osxdaily/~4/mxjNe8Fxr_w" height="1" width="1"/> View the full article
Recommended Posts