Live data from Hacker News

Build muscle memory with your favorite editor

shortcutfoo.com

41–50 of 122 posts

Re: Build muscle memory with your favorite editor

#41
post #13

I wonder if this actually teaches you the right kind of muscle memory. I have no difficulty with hjkl for navigating in Vim, but I had trouble associating those keys with the string "move one character". Mapping from the description of the command to the key is not the kind of muscle memory I use all day.

Agreed. Perhaps a block of text/code with lines highlighted along with instructions on how/what to change them? That would give the right visual feedback and should be totally doable.

Yeah, it would be awesome to see prompts like:

> Duplicate this line

or

> Move the cursor to the beginning of this line|

Re: Build muscle memory with your favorite editor

#44

Try tapping ABACABB (the Mortal Combat blood code) on the homepage for some fun. Nice easter egg :)

I feel I must ask: do you try this on every website you come across, or do you check the source on every website you come across? Either way: thanks :D

Re: Build muscle memory with your favorite editor

#46
post #39

If you want better shortcut muscle memory, just unplug your mouse for a couple days. Do this once a year or so. You can thank me later.

In OSX, are all dialogue boxes able to be accessed by the keyboard?

Not sure about OSX, but in Windows you can. This is a huge miss in Linux I find (all distributions I've tried so far), you need the mouse to get anything done without resorting to a terminal.

Re: Build muscle memory with your favorite editor

#47
post #39

If you want better shortcut muscle memory, just unplug your mouse for a couple days. Do this once a year or so. You can thank me later.

In OSX, are all dialogue boxes able to be accessed by the keyboard?

Yes, but you have to enable it. It's not on by default.

System Preferences -> Keyboard -> Keyboard Shortcuts

And change the radio at the bottom to "All controls" under Full Keyboard Access.

Re: Build muscle memory with your favorite editor

#49

Earlier quoted context omitted.

In OSX, are all dialogue boxes able to be accessed by the keyboard?

Yes, but you have to enable it. It's not on by default. System Preferences -> Keyboard -> Keyboard Shortcuts And change the radio at the bottom to "All controls" under Full Keyboard Access.

To get to System Preferences, you can use CTRL-F2 to get to the Apple menu, CTRL-F3 to get to the Dock, or—if those shortcuts aren't set up (but I think that they are by default)—CMD-TAB to get to Finder, CMD-A to get to the Applications folder, and type a few letters to get to 'System Preferences.app'. :-)

In the System Preferences window, you can start typing to select 'Keyboard' (keyboard focus is in the Spotlight menulet).

You can tab to the 'Keyboard' / 'Keyboard Shortcuts' tab bar, then arrow over to 'Keyboard Shortcuts', then tab to the 'Full Keyboard Access' radio buttons. Sadly, these last few steps require that Full Keyboard Access already be turned on! The text below the radio buttons says that you can toggle the setting with CTRL-F7, but that doesn't work for me; I'm not sure if some other keybinding is interfering.

Re: Build muscle memory with your favorite editor

#50
post #44

Try tapping ABACABB (the Mortal Combat blood code) on the homepage for some fun. Nice easter egg :)

I feel I must ask: do you try this on every website you come across, or do you check the source on every website you come across? Either way: thanks :D

This was on reddit a couple of days ago: http://www.reddit.com/r/programming/comments/wjyvw/shortcutf...
Post reply on HN