News for hackers. Stuff that matters.
Re:History of Emacs & vi Keys (Keyboard Influence on Keybind... by chao- on Wednesday July 17, 2013 @05:07AM (#6056797)
Using this to bring up something related, which I have always wondered: How do you orient your hands when performing ⌘+Z/X/C when using a Mac keyboard? Which finger presses the ⌘?

Having used Windows as a child and Linux for many years since, I'm sure a large part is "you get used to whatever you use". However, any time I borrow a friend's Apple laptop to demonstrate something, I always waste a few cycles thinking about just how I should really be dealing with the keyboard, and never really settle on an answer.

At its core, I love the idea of the ⌘ key: Something for shortcuts in GUI applications so that Ctrl can remain for sending Unix Signals. But it's position, combined with the lack of discrete Home, End, PgUp, or PgDn, is a majority of what keeps me from buying a Macintosh laptop. Also the whole function key deal. The keyboard is such an important source of my productivity.

Re:History of Emacs & vi Keys (Keyboard Influence on Keybind... by zarify on Wednesday July 17, 2013 @05:23AM (#6056845)
I tend to just thumb it (the left side one, I only tend to use the right one for the command-delete trash shortcut), same as I do with alt- shortcuts on Windows layout keyboards. I find the mental shift from using command on OS X to Ctrl on Windows pretty easy to do, but then I spend a lot of time on both platforms.

One of the things I find quite difficult to mentally adapt to when switching is the behaviour of the Enter key, since in Windows it is open, and in OS X it is rename (which I find much more useful, since you can command-down arrow to open which is used for folder navigation with command-up for opening the parent folder).

There are a bunch of little-advertised command key shortcuts for Home, PgUp, etc too, so you figure out a way to make it work pretty quickly (some work inconsistently though, I tend to mainly use the word/line based stuff rather than page/document). See http://ss64.com/osx/syntax-keyboard.html .

Re:History of Emacs & vi Keys (Keyboard Influence on Keybind... by chao- on Wednesday July 17, 2013 @05:30AM (#6056865)
>One of the things I find quite difficult to mentally adapt to when switching is the behaviour of the Enter key, since in Windows it is open, and in OS X it is rename (which I find much more useful, since you can command-down arrow to open which is used for folder navigation with command-up for opening the parent folder).

For future reference, you can rename in Windows/Linux using F2. Works in Windows Explorer, and in most Linux file browsers that I have tried, though who could ever claim to have used them all? ;)

As for [Modifier]+Down to enter a folder, that makes a lot of sense and I like it. The last time I used a Windows machine (Win7 I think), I noticed that they had finally adopted Alt+Arrow navigation in Explorer. Alt+Up goes to the parent folder, same as Linux (and OS X it seems!), and Alt+Left/Right goes backward/forward in folder history. I'll probably try and add Alt+Down to one of my Linux file managers sometime, because it makes much more sense than having to switch to Enter for going into something, and Alt+Up to go back out.

Re:History of Emacs & vi Keys (Keyboard Influence on Keybind... by zarify on Wednesday July 17, 2013 @05:40AM (#6056885)
Thanks for that, I didn't know about Alt-Up (and had always been annoyed at the removing of the parent directory button in Win7). F2 is one I'll have to remember too. Context menus and click-pause-clicks are annoying.
Re:History of Emacs & vi Keys (Keyboard Influence on Keybind... by chao- on Wednesday July 17, 2013 @05:40AM (#6056884)
I was just perusing that link, and my god you have just saved me so much frustration. The shortcut:

⌘+` Switch between document Windows in current application

Solves the single most confusing thing I have dealt with on OS X! By happenstance of populations, almost none of the Mac-owners I interact with are power users of any sort (programmer, accountant, etc.). When using their keyboards and fumbling around like an idiot, I always ask "How do I go to the other window of Chrome?" or similar, and they don't know what I mean. I have Googled for this before, but could never figure out how to phrase the action to get an answer.

If I could reduce my karma just to be able to increase yours more than one for this comment, I would. Thank you very much.

Re:History of Emacs & vi Keys (Keyboard Influence on Keybind... by smgoller on Thursday July 18, 2013 @02:40AM (#6062144)
This doesn't work for me in Chrome (28.0.1500.71). Other apps work fine. Is there something that needs to be done to get it to work?
Re:History of Emacs & vi Keys (Keyboard Influence on Keybind... by reubenmorais on Wednesday July 17, 2013 @05:17AM (#6056820)
I, and all OS X users I know, use the thumb to press command. I rarely need to use home/end, since control-A and control-E work in all text fields. PgUp and PgDn are fn+up/fn+down, but I never use those.
Re:History of Emacs & vi Keys (Keyboard Influence on Keybind... by chao- on Wednesday July 17, 2013 @05:22AM (#6056833)
>I rarely need to use home/end, since control-A and control-E work in all text fields.

Interesting. If I can remember that and keep it in mind, I'll be far less jumpy and clunky next time I'm typing on a Mac. Thanks!

On the note of PgUp and PgDn, I suppose I mostly use them for tab navigation: Ctrl+PgUp and Ctrl+PgDn works as a "Next Tab" and "Previous Tab" in pretty much every tabbed Linux application I've used. I recall it being almost universal in Windows as well. Is there an OS X equivalent shortcut for Next/Prev Tab?

Re:History of Emacs & vi Keys (Keyboard Influence on Keybind... by zarify on Wednesday July 17, 2013 @05:25AM (#6056849)
Command-shift and square brackets seems to be pretty common (well, it works in Terminal and Chrome, so there's about 80% of my usage there).
Re:History of Emacs & vi Keys (Keyboard Influence on Keybind... by dubya on Wednesday July 17, 2013 @10:46AM (#6057928)
Ctrl+Tab and Ctrl+Shift+Tab work as next/previous tab in Safari, Firefox and Chrome.
Re:History of Emacs & vi Keys (Keyboard Influence on Keybind... by opinali on Wednesday July 17, 2013 @08:16AM (#6057206)
Re:History of Emacs & vi Keys (Keyboard Influence on Keybind... by vacri on Wednesday July 17, 2013 @09:39AM (#6057578)
I remember using an older mac laptop and the keyboad was hard up against the screen with small function keys. Any time I wanted to use one, I'd bang my fingers against the bezel.
Re:History of Emacs & vi Keys (Keyboard Influence on Keybind... by scholia on Wednesday July 17, 2013 @11:04AM (#6058051)
Thanks, I enjoyed that ;-)
Re:History of Emacs & vi Keys (Keyboard Influence on Keybind... by npsimons on Wednesday July 17, 2013 @10:10AM (#6057716)
Thumb, and incidentally, mine is remapped to Alt/Meta for better Emacs support. I'm not a big fan of the Apple key layout either, but the reason I use an Apple keyboard with Emacs in Cygwin is that it just feels right. Maybe it's because I've been using laptops for such a long time, but something about the pitch and the tactile feedback just seems to hit a sweet spot. Plus, I guess compared with the other HP, Dell and Logitech crap we have around the lab, it's probably the best option (at least for me).
Re:History of Emacs & vi Keys (Keyboard Influence on Keybind... by zeckalpha on Wednesday July 17, 2013 @10:23AM (#6057772)
On the Mac, the Ctrl key can be used for Home and End using the Emacs/bash keys (Ctrl-A, Ctrl-E).

I'm also a thumber.

Re:History of Emacs & vi Keys (Keyboard Influence on Keybind... by parbo on Wednesday July 17, 2013 @09:35AM (#6057560)
You can make it so that F-keys are F-keys by default, and the other actions require Fn. It's in the settings.