History of Emacs & vi Keys (Keyboard Influence on Keybinding Design) (2010)
xahlee.info
xahlee.info
Ah well. The guy may be a strange individual but he's certainly done good in proliferating a ton of helpful documentation literature on *nix stuff.
Using the numeric keypad as directional arrows can be more comfortable when gaming. I personally prefer to use it as arrows when gaming and numbers when working. I would not buy a keyboard lacking a Num Lock key.
Right-handed gamers have the mouse on the right and use WASD for movement—and there's a comfortable distance between the two. Left-handed gamers have the mouse on the left—using WASD feels very cramped.
The benefit of using WASD for movement though is that there are a plethora of keys in its vicinity that can be remapped. With the numpad, not so much.
I can understand the keypad being more comfortable for certain games, but it's an edge case.
You've got some nerve, guy.
Anyhow you shouldn't need `h` often.. Using b, F, T, ge, gE, ^, 0 is much faster.
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.
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 .
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.
⌘+` 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.
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?
I'm also a thumber.
I'm curious as to what people who spend more time in vim than I do think about that. Personally it seems more comfortable to be using different fingers rather than shifting when going up/down.
Edit: Echoing asdfs's comment elsewhere in the thread, I think that jkl; would be an alternative with actual, arguable benefits.
And in any case, when was the last time you moved up and down at the same time?
Using HJKL: Navigating vertically is index finger on J, middle finger on K. Navigating horizontally is index finger on H, ring finger on L.
Using IJKL: Navigating vertically is middle finger on I for up, middle finger on K for down, so using the same finger and shifting keys when you need to change direction. Horizontal would be the same as HJKL.
This is what strikes me as odd about the cursor key layout: When changing direction vertically you have to physically change the position of your finger. With the vim (trying to resist calling it 'roguelike' :P) layout you're only moving your fingers when you're switching between vertical and horizontal.
I'm not sure why this bothers me as much as it does :/
I also started using the leader key (\) in vim, another thing long overdue. That's in an easy location on that old keyboard too.
Free tip:
~ $ echo 'imap jj <ESC>' >> .vimrc
jj being a rare combination in insert mode it makes a nice pinky-safe ESC move.