419 points · by dko · 14y ago · 98 comments
My first reaction was that it's a step backwards because the usual benefits of a command line aren't present here (you're usually already using your mouse, commands can't be piped, no shell scripts to run things in sequence)...
But I'm intigued -- maybe it's a possible step forwards? The implementation is very well done. I suppose maybe it functions like traditional keyboard shortcuts in a way? To follow a user, instead of finding their page and clicking follow, you just type "@user follow".
Still, all the commands are so basic, and many are infrequently used, I don't really see much of the "shortcut" value. I'm very curious to see if this user interface concept grows. Imagine if this became a standard way to interface with web API's!
/find search term
Which is actually the same as not including "/find"... it acts like a search box when not told otherwise. /goto inbox
/goto home
Navigation to common pages. /me is dancing
That one updates your status. /me slaps [user] with a trout
Is the equivalent of a Facebook poke I guess.* I wish it had vim keybindings (ie, hit esc, then use hjkl to navigate)
* It gives me the option to follow myself. (Bug?)
* I like how I can learn commands via the autocomplete bar (issue, branch, graph, etc)
* I like how the autocomplete bar refreshes after I have control-tabbed away and back. Too many autocompletes lose this behavior
* Searching in a repository username/repo <searchterm> doesn't work the way I expect. It just brings up the regular search
Overall, very useful though.
When websites use these common vim keybindings in an attempt to be helpful or "hacker cool", they completely bork my browsing setup until I disable the plugin for that site. My experience after that is usually a mix of awkwardly readjusting to the default browsing setup and reflexively trying to use vimium hotkeys and being surprised when they do something completely different. So, while Google Reader gets much "hacker" praise for its vim hotkeys, they make the site a lot more difficult to use for me -- there, accidentally hitting my "scroll down" button will scroll to the next article and make me lose my place, for example.
To web app developers, I completely understand that vim users that use plugins like vimium are a niche within a niche and not all that important in the grand scheme of things, but we would very much appreciate it if you bury the option to disable vim hotkeys somewhere in your site's settings menu. Very few people may be affected if you don't do this, but to those that are, it's even more frustrating than sites that remap the arrow keys, use touch events on mobile browsers, break "middle click to open in a new tab" functionality for no good reason by using javascript onclick events instead of standard anchor tags, or break pagedown functionality by covering up the top part of the document with a giant floating "like this on twitbook" bar.
With Pentadactyl, what you describe just isn't a problem: the extension captures the keys and prevents websites from screwing that up, unless you want to access them, in which case you just press C-z to enable 'Pass Through' mode.
(alternatively, use Pentadactyl and press C-i when the focus is on a text box)
Among the problems created: overlap and conflict between browser and site keybindings.
https://a248.e.akamai.net/camo.github.com/367fe330bc1ad4431b...
The post itself mentioned: "Spoiler alert: you might notice a few things in this screenshot that haven’t fully shipped yet."
http://github.com/username
http://github.com/username/follow
http://github.com/username/unfollow
http://github.com/me/dashboard
http://github.com/me/notifications
http://github.com/username/reponame/search/term
http://github.com/username/reponame/branchnameImagine you want to follow xyz on Twitter, you could open the full page, use the search, pop the pop-up and click follow, or you could type tw tab follow xyz enter in the omnibar.
With a carefully chosen URI scheme, 100% RESTful or not, you have your command bar.
I've been considering adopting a similar concept for a complex enterprise application that I maintain where the number of possible actions on a certain page is huge.
I don't really get why they built this... Anyone?
Once I hardwire a combination into my head, anything else feels slow and laboured to the point that I hate using it, and often I am found trying to use shortcut keys when a simple mouse touch would work better.
Some people are predominantly mouse people, and if they are productive doing this, this is of course ok, but a feature like this would be an added boon in my opinion for any website.
Too bad they didn't also use '/', like gmail and atlassian products.
Learning a few commands is not hard, and there is always the ol' mouse to fall back upon if you don't want to remember all those commands.
https://github.com/mozilla/gcli
This is the command line that's in Firefox 16's Developer Toolbar (final release is coming in early October):
https://hacks.mozilla.org/2012/08/new-firefox-command-line-h...
I love command lines, personally :)
Long live the command line. At least until I get my neural implants.
Think of it as an intermediate step of piping where the user has the ability to manually filter content. This UI concept would cover the vast majority of UI needs as almost any workflow could be captured with the following...
1.) Issue command that produces 0..N results. 2.) View results in list format. 3.) Select individual results for details view. 4.) Select 0..N results as input to a subsequent command.
For example, I can now type in "<user>/<repo> #123" to go to an issue, but if I am already on the Issues page for that repo and I type "#123" in the box labelled "Search: Issues & Milestones..." it still comes up with nothing. And that's not even challenging.
I'm desperately hoping that this feature is an indication that they've noticed that finding anything on the site requires either 8 million mouse clicks or manually editing URLs.
It is built for asp.net but you could easily apply the same concept somewhere else. More info if anyone is interested: http://lukencode.com/2011/12/11/netbashan-alternative-to-end...
That said, I'm not sure what would you like to do in such terminal?
If you're going to do real job, just do in your real terminal emulator, xterm, rxvt, you name it. What's the point of having GitHub terminal in browser? If you want to do quick'n'dirty fixes/improvements directly from the browser, then it's like asking yourself for troubles, because there is quite higher chance that you'll commit a mistake (even literally speaking) than if you'd be using your own terminal that you work with on a daily basis.
You may want to check a few CLI tools:
* map the '/' symbol to focus:search box.
Yes, there are other bindings, but / is in finger-memory at this point.
I wonder if there's some sort of noscript-alike that would give you fine-grained enough control to permit exactly which keys could be intercepted by an app.
This was also the one thing I was missing from the post. I did try '/' as well.
The down side is that, I think, this is really only useful for the github power user. The upside is: I'm a github power user!
Seriously, though, I hope they don't use this command line as a sort of cop-out for continuously improving their UI.
These things really speed up work for power-users and let maintainers add functionality without adding more complexity to the user experience than is appropriate.
Need to juice the performance a bit I think