in Mac, how to press command and option at the same time?

2

in Xcode, many hotkeys need you to press the command+option, which fingers I should use? For example:

  • option+CMD+left/right: to folder some code
  • shift+option+CMD+left/right: to folder all method

BollMose

Posted 2015-01-02T03:49:10.510

Reputation: 131

Question was closed 2015-01-03T09:21:46.813

Is your question how to physically press the keys with multiple fingers? What is causing you problems? – fixer1234 – 2015-01-02T04:57:00.633

I use my fingers in wrong way when tap the keyboard. – BollMose – 2015-01-02T05:16:45.303

There is no wrong way if it is not uncomfortable and it works. Is there a specific problem? – fixer1234 – 2015-01-02T05:19:27.767

its right way only if comfort? – BollMose – 2015-01-02T05:40:13.800

I'd say that would be the goal unless you are a masochist. :-) As Demis points out, it involves some finger gymnastics. If you have a special situation, like small or large hands and a keyboard that isn't a good size match, or arthritis and the position bothers your hands, etc., you might need to experiment. An alternative is to try the "sticky keys" (might be under accessibility), which eliminates the need to press the awkward key combinations. You could also look at creating shortcut keys that typically require only two keys, which don't necessarily need to be with the same hand. – fixer1234 – 2015-01-02T05:59:51.087

I view source code with xcode, and always use two or three keys of shift/ctrl/opt/CMD with left hand fingers.If left thumb press CMD, opt key is very hard to hold. I have found no comfort way to hold alt+CMD at same time for me. – BollMose – 2015-01-02T06:32:51.553

Some of these key combinations must be intended to avoid an accidental nuclear launch. Any way to redefine the key combinations to something easier? – fixer1234 – 2015-01-02T06:38:32.977

if view code, emacs is better. My problem is CMD+opt+ctrl+shift ,I can't escape when use Mac. – BollMose – 2015-01-02T06:58:52.147

I'm assuming you use a 'short' keyboard with modifier keys only on the left side? Maybe look at an extended keyboard layout that has modifiers on both ends of the main qwerty section. e.g. http://i.stack.imgur.com/bzFKq.png

– Tetsujin – 2015-01-02T13:58:38.633

Answers

1

With your Left hand, use the Index (pointing) & 2nd finger & middle fingers to hold Option (Alt), Command and/or Shift on left side of keyboard.

Use your Right hand to hit the other key needed, which is always only one key at a time.

You can hold down the Option/Command/Control/Shift keys for as long as you want without it doing anything - only when you hit another key (with your right hand) will the action be performed.

There's a reason they call it finger gymnastics. Just try resetting your System Management Controller (SMC) or PRAM!

Demis

Posted 2015-01-02T03:49:10.510

Reputation: 266