6 ms·
ViTunes
- robfitz 15y agoThis feels akin to counting all time in gmail as "work" regardless of what one is reading/writing. The most dangerous distractions are those which disguise their presence. The mental burden of task switching is about changing mindsets, not applications. The damage here is equal whether you're looking for an album in vim or a gui.
- telemachos 15y agoSo I suppose that you don't want to try the same programmer's Vmail[1] - a Vi-interface for Gmail? (Oh, or even better Twim[2] - a Vi-interface for Twitter!) More seriously, I thought of it as (1) a cool hack and (2) akin to Zawinski's law[3] about the way that software expands to consume more tasks. More serious Vim hackers might object that it amounts to the Emacs-ification of Vim. (Given the number of plugins to add calendars, todo lists and Org-mode to Vim, I think that battle may be lost.) [1] http://danielchoi.com/software/vmail.html http://danielchoi.com/software/vmail.html [2] https://github.com/danchoi/twim https://github.com/danchoi/twim [3] http://www.catb.org/jargon/html/Z/Zawinskis-Law.html http://www.catb.org/jargon/html/Z/Zawinskis-Law.html
- davvid 15y agoI've been using mutt with gmail. It drops into vim when it's time to compose a message. I've never heard of vmail. It sounds interesting, but I would personally recommend mutt over vmail. mutt is quite vimish. http://wiki.mutt.org/?UserStory/GMailOverIMAP http://wiki.mutt.org/?UserStory/GMailOverIMAP
- blackRust 15y agoThe first thing I see on that page is: set imap_pass = 'yourpassword' I get scared and run away...
- erikano 15y agoYou don't have to store your password in plain text just because it gives you the opportunity to do so - I use mutt without a stored password for IMAP. It means that I have to enter my password between one and three times per day, but that's a minor inconvenience to me.
- losvedir 15y agoWhile I tend to agree in general, I've actually found pianobar much less distracting than the Pandora web interface. F5 (my hotkey for Terminal.app), n, Alt+Tab can happen without me really thinking about it, whereas the web interface requires firing up the browser, locating the "Next" button and clicking it. So I guess I can see this being an improvement if all you're looking to do is skip to the next song. If, as you say, you browse through your albums, etc, then I imagine this would be just as distracting.
- hvs 15y agoI agree with you that the claim that this is some sort of "productivity enhancement" is a bit weak, but as an actual feature, it is pretty impressive. The productivity side of it is immaterial, IMO.
- felxh 15y agoisn't it "keystrokes make you believe you get you there faster, but you actually don't"?
- nuclear_eclipse 15y agoThat depends on how many keystrokes it takes compared to the equivalent mouse actions. `c3E` is faster than moving you hand to the mouse, highlighting three words of text that you want to replace, and moving your hand back to the keyboard. Assuming ViTunes uses a similar set of actions to play music, I could easily see it being a faster way to find and play the songs you want to listen to.
- mattgreenrocks 15y agoHow does this compare to something like Alfred, where you hit something like option-spacebar, type "itunes uprising" and hit enter to start playing it?
- scott_s 15y agoI believe those studies were done with non-experts. Editors like vi and emacs are expert-systems: the upfront cost to learning how to use them is high, but once you pay that cost, you can be extremely efficient in them. I've used vi (well, vim, but just about anyone who uses "vi" is really using vim) as my primary editor for... eight years now. I feel far more comfortable in it than in editors that expect me to do mouse-and-keyboard inputs. I am, however, not a master. If you've ever seen vi or emacs masters write or edit code, it's clear they are faster than they could be if they were in a mouse-and-keyboard interface.
- lukeschlather 15y agoThe key thing I noticed in the relative study is also that they said people experienced literal amnesia about the additional time required to choose a shortcut. I'd be interested not only in a better study of the effect of expertise as well as looking at the effect of this "amnesia" on productivity. Even if it takes me longer to do a task in Emacs, that amnesia suggests that the interface is less distracting, which might be far more valuable than speed.
- deleted 15y ago[deleted]
- tmcw 15y agoWow, gem install && run the install utility and 'it just works.' What a cool project, and impressive that it just does what it claims to do, well and in such a jazzy manner.
- _delirium 15y agoInteresting; I didn't realize it was possible to control iTunes from alternate frontends via some sort of API. Instead of a new console-mode frontend, though, I wonder if it'd be possible to adopt player frontends from other client/server music players, like the ncurses-based 'ncmpc' frontend of mpd.
- telemachos 15y agoMy first thought was the other way around: How much would I need to do to make ViTunes control my mpd music? (There seem to be a couple of older Python Vim plugins to do this[1][2].) [1] http://www.vim.org/scripts/script.php?script_id=2856 http://www.vim.org/scripts/script.php?script_id=2856 [2] http://www.vim.org/scripts/script.php?script_id=2369 http://www.vim.org/scripts/script.php?script_id=2369
- JoelMcCracken 15y agoI haven't looked into ViTunes, but most Apple applications are very able to be scripted via AppleScript. If I had to guess, I would think that this is how this is being accomplished.
- js2 15y agoiTunes can be controlled via AppleScript. This plugin appears to talk to iTunes via a CLI the author wrote in Objective-C which uses Scripting Bridge to talk to iTunes. Scripting Bridge is a cocoa interface to scriptable applications. Many OS X applications expose part or all of their functionality via AppleScript. To get some idea of what an application offers you can fire up AppleScript Editor, then open the dictionary for a given application. (Rarely, an application will expose more than is shown in its dictionary.) Now, AppleScript is a truly detestable language, so avoid using it directly at all costs. :-) http://appscript.sourceforge.net/ http://appscript.sourceforge.net/ is much more friendly.
- tibbon 15y agoAwesome work Dan. If you keep putting out awesome Vim stuff like this, I'm really going to have to ditch Textmate at some point and join the club. For those of you who haven't seen before, Dan is putting out some awesome software like this about every 2 months it seems. And it is always awesome and useful.
- lovskogen 15y agoThat's awsome times four, people.
- garron 15y agoGreat job my friend, I do all my editing work on vim, both in Linux and Mac. Now I can't wait to arrive home and try this on my Mac, unfortunately I can't have iTunes running in Slackware :(.
- Sukotto 15y agoLooks great Dan. I would have expected you to pick different key bindings though. for example ,y instead of ,c for copy or ,/ instead of ,s for search. Is that because you already have those binding for something else or do you just find them more intuitive?
- RexRollman 15y agoI truly appreciate the goals of this project but I honestly don't understand why the author didn't come up with his own unique name for this; there already is a vitunes (which I have used on OpenBSD).
- dexen 15y agoSemi-related: the http://en.wikipedia.org/wiki/Vimperator http://en.wikipedia.org/wiki/Vimperator
- nyellin 15y agoFor Chrome users there is Vimium: https://chrome.google.com/webstore/detail/dbepggeogbaibhgnhhndojpepiihcmeb?hl=he https://chrome.google.com/webstore/detail/dbepggeogbaibhgnhh...
- rickr 15y agoFor what it's worth vimium (and the other chrome alternatives) aren't quite what vimperator is. It's really the only thing keeping me from using chrome, since I hear the developer tools are as good as firebug.
- nyellin 15y agoThanks. Due to your comment, I tried vimperator for the first time.
- nickknw 15y agoI think most development has moved onto the fork, Pentadactyl: http://dactyl.sourceforge.net/pentadactyl/ http://dactyl.sourceforge.net/pentadactyl/
- zackb 15y agoLove it! Thank you for sharing your hard work.
- nyellin 15y agoObligatory emacs alternatives: * http://www.emacswiki.org/emacs/itunes.el http://www.emacswiki.org/emacs/itunes.el * http://www.geocities.jp/tmjb2006/itunes/itunes-mode.html http://www.geocities.jp/tmjb2006/itunes/itunes-mode.html * http://www.mahalito.net/~harley/elisp/osx-itunes.el http://www.mahalito.net/~harley/elisp/osx-itunes.el (I don't think any have a GUI as nice as ViTunes)
- cube13 15y agoTotally off topic, but I thought that Geocities was closed for all TLD versions. Apparently I was wrong.
- deleted 15y ago[deleted]
- zmanji 15y agoAre there any benefits to this than having ncmpcpp running in another terminal?
- xbryanx 15y agoNow someone just needs to build a Vim enabled Spotify client. Vimify?
- billybob 15y agoI am a fanatical Vim user who listens to iTunes frequently while working. But I don't see the point of this. It takes very little time for me to switch spaces and click to change playlists, and I only need to do that a few times per day. Why clutter my Vim config with another plugin? Why claim valuable key bindings, both in my config and in my brain, for something I can already do well enough? I'm not trying to be overly critical; if you like this, use it. But to me it feels like "let's order pizza from Vim!" or "let's compose symphonies in Vim!"
- blhack 15y agoBecause it's hackery, and hackery is fun, which is why most of us got into it to begin with.
- masterzora 15y agoYour use case and mine, for example, are different. I generally am not a fan of playlists, personally. Occasionally, but not often, I'll want to listen to the same set of tracks again but more often I want a new mix every time. Worse than that, I don't know an hour from now what I'll want to listen to so I find that I generally can only fill out a playlist a couple songs at a time. Since I need to manipulate my now playing often, having the ability to do so through vim would be basically godlike. Now, if only it worked for a media player I actually used :/
- cosgroveb 15y agoI like how he monetized it using Amazon Affiliates. At no additional cost to you, Amazon will give the ViTunes developer a small referral bonus (around 6%) when you buy MP3s via ,z.
- jarin 15y agoI love this hackery and I'll definitely mess around with it, but in the end it's probably easier just to use the media keys on my keyboard. I don't necessarily feel a huge need for vim to do everything, or I would have switched to emacs instead :)