News for hackers. Stuff that matters.
Re:Introducing the Command Bar by tarr11 on Monday September 17, 2012 @04:17PM (#4534637)
Playing with this for a few minutes:

* 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.

Re:Introducing the Command Bar by te_chris on Monday September 17, 2012 @05:04PM (#4534887)
One could make a measure of velocity for hacker news posts about terminals/CLIs by measuring how fast it takes someone to gripe that it a)doesn't have vim bindings OR b) has vim bindings that feel unnatural ;)
Re:Introducing the Command Bar by jrajav on Monday September 17, 2012 @05:49PM (#4535080)
Or that its vim bindings are TOO natural and thus call undue attention to the inevitable incompleteness of its vim "implementation"
Re:Introducing the Command Bar by eckyptang on Monday September 17, 2012 @04:47PM (#4534801)
+1 for vim keybindings. I noticed JIRA actually has these the other day (the only thing I like about it).
Re:Introducing the Command Bar by ANTSANTS on Monday September 17, 2012 @06:14PM (#4535196)
I'd like to counter here that I prefer that sites don't assign vim bindings, or at least allow me to disable them. The reason being that I make extensive use of the vimium Chrome plugin (similar to pentadactyl on Firefox), which maps common vim keys to useful browser shortcuts (j/k to scroll, shift-j/k to switch tabs, f to enable a "type to click links" mode, etc). On 99% of the websites I use, I almost never need to touch the mouse, which is a especially appreciated when using a laptop with a nub mouse.

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.

Re:Introducing the Command Bar by icebraining on Monday September 17, 2012 @07:11PM (#4535379)
I'm not trying to troll, but frankly, I don't understand why people who want to use advanced extensions like Vimium/Pentadactyl opt for Chrome and its crippling extension API.

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.

Re:Introducing the Command Bar by ANTSANTS on Monday September 17, 2012 @08:14PM (#4535585)
I didn't take your comment as a troll -- I even considered mentioning that problem in my post. The trust and power that Firefox gives towards extension authors is certainly a strong point in its design for "power users" (letting, for example, Firefox adblockers prevent the ads from even being loaded, while Chrome adblockers can only hide the display elements). The thing is, though, no one browser is perfect; Firefox lacks Chrome's process isolation, support for the latest Flash plugin on Linux, I prefer Chrome's visual design and user interface, etc -- the point being that I prefer Chrome/Chromium for certain reasons external to extension capabilities, and I'm not willing to switch back to Firefox just to get my vim hotkeys to work on Google Reader.

I realize it's not fair to expect web app developers to adapt to my (or anyone else's) custom browser configuration, but in this particular case, they're adding vim hotkeys primarily as a convenience to fellow vim users, not as a defining feature of their site. Given that, I think they should be aware that there is a subset of those vim users who are negatively affected by their kindness.

Humorously, Chrome just completely crashed while I was writing this (running on the latest Quantal beta), prompting me to remove a bit I wrote about Chrome being more stable than Firefox due to its process isolation. I have a hunch that the fault lied in the Flash plugin, however, which doesn't seem to be terribly stable on Linux. I've never had a browser-wide crash on Chromium in the past, but not being able to watch certain Youtube videos and missing the convenience of Chrome's PDF plugin prompted me switch to it. Not sure I made the right decision.

Re:Introducing the Command Bar by djeikyb on Tuesday September 18, 2012 @01:46AM (#4536546)
I use Chromium over Firefox purely so I can open many tabs without having to scroll the tab bar. I use extensions to bind keys, block content, block scripts, etc. I realise these work better (and some only work) in Firefox. But the scrolling tab bar is a deal breaker.
Re:Introducing the Command Bar by SeanDav on Tuesday September 18, 2012 @07:18AM (#4537387)
Tab Mix Plus, an addon for Firefox allows multi line tab lists and is very customizable.I have been using it for years.
Re:Introducing the Command Bar by gradstudent on Monday September 17, 2012 @08:05PM (#4535548)
Pentadactyl requires Firefox and Firefox is a memory eating pig.
Re:Introducing the Command Bar by icebraining on Monday September 17, 2012 @08:16PM (#4535588)
Thankfully, not here (it's using 300MB of Resident Memory after being open for days). On what OS are you?
Re:Introducing the Command Bar by int3 on Monday September 17, 2012 @09:31PM (#4535814)
Vimium dev here. We actually disabled Vimium on Google Reader because we were getting complaints about how it breaks Reader's own keybindings. If you wish, you can re-enable Vimium by going to the options page; once enabled, its keybindings should take priority over the page's own -- please file a bug if that isn't the case. (However, if you pressed a key that doesn't correspond to a Vimium command, it will automatically pass the keystroke down to the page's own key handlers.)
Re:Introducing the Command Bar by mh- on Monday September 17, 2012 @10:04PM (#4535914)
[emphatic] Vimium user here.

Would you accept a pull request to satisfy https://github.com/philc/vimium/issues/61?

Like many of the commenters there, I often only find myself reaching for the mouse while browsing to select and copy text.

If it's something you're open to I'd be willing to give it a shot.

Re:Introducing the Command Bar by JoelMcCracken on Monday September 17, 2012 @05:03PM (#4534886)
It seems like it should emulate readline, doesn't it?
Re:Introducing the Command Bar by nipunn1313 on Monday September 17, 2012 @05:43PM (#4535055)
In multiple places on github, as a vim user, I occasionally instinctively hit escape. Github sometimes closes a comment box and I lose all the stuff I had been typing. It's an unfortunate UI issue for me (and probably others).
Re:Introducing the Command Bar by icebraining on Monday September 17, 2012 @07:17PM (#4535403)
Just use VIM proper; after all, It's All Text! https://addons.mozilla.org/en-US/firefox/addon/its-all-text/

(alternatively, use Pentadactyl and press C-i when the focus is on a text box)

Re:Introducing the Command Bar by jrajav on Monday September 17, 2012 @05:48PM (#4535073)
One of the several reasons that I use Ctrl-[ or Ctrl-C. ;)
Re:Introducing the Command Bar by burke on Monday September 17, 2012 @04:22PM (#4534666)
I'd be pretty happy with Ctrl-(1-9) to action the nth item in the visible list.
Re:Introducing the Command Bar by przemoc on Monday September 17, 2012 @04:29PM (#4534708)
No! Ctrl-[1-9], switches between 1-8 and last tabs in Chrome. I know that Alt-[1-9] works too, and is even more cross-browser (works in Firefox), but I still prefer Ctrl. I'm not sure why, though.
Re:Introducing the Command Bar by crazypyro on Monday September 17, 2012 @04:51PM (#4534828)
Ctrl-[1-9] is the hotkey for Firefox (not Alt-[1-9]).
Re:Introducing the Command Bar by icebraining on Monday September 17, 2012 @07:14PM (#4535391)
Actually, it depends on the platform, it's Ctrl on Windows and Alt on Linux (and Command on Mac).
Re:Introducing the Command Bar by crazypyro on Monday September 17, 2012 @08:42PM (#4535670)
Well, learn something new everyday....
Re:Introducing the Command Bar by telemachos on Monday September 17, 2012 @06:14PM (#4535200)
Re vim bindings, this tweet[1] by John Nunemaker makes it seem unlikely. (Not actually sure how serious he is, but it's a funny tweet - and I say that as a Vim user.)

[1] http://twitter.com/jnunemaker/status/247800799625887744

Re:Introducing the Command Bar by shawnz on Monday September 17, 2012 @06:25PM (#4535239)
Perhaps a satisfactory solution for everyone would be to make "esc" defocus the input field? Github already has a "command mode" by default, and focus on the textbox can serve as the mode switching mechanism. The "s" key would then replace "i" in vim.
Re:Introducing the Command Bar by samirahmed on Monday September 17, 2012 @08:07PM (#4535557)
Try Vimium. converts entire browser to vim bindings

http://vimium.github.com/

Re:Introducing the Command Bar by dredmorbius on Saturday September 22, 2012 @05:58PM (#4559130)
I use Vimperator, which has a similar sense to it

Among the problems created: overlap and conflict between browser and site keybindings.

Re:Introducing the Command Bar by ranza on Tuesday September 18, 2012 @05:27AM (#4537132)
I hate sites that have vim bindings as i already uses vimium for chrome. Im looking at you fffound and vimeo!
Re:Introducing the Command Bar by Evbn on Tuesday September 18, 2012 @12:36PM (#4539007)
The site is called VIMeo.
Re:Introducing the Command Bar by jjcm on Monday September 17, 2012 @05:16PM (#4534934)
It'd also be nice if it had focus on page load.
Re:Introducing the Command Bar by matthiasv on Monday September 17, 2012 @05:19PM (#4534948)
I can type 's' rather quickly.
Re:Introducing the Command Bar by jjcm on Monday September 17, 2012 @11:14PM (#4536102)
Ah missed that part. Good to know.