I'm using a MacBook Pro running Windows 7 under bootcamp. I'm used to switching between Mac kb / MacOS X software and Windows kb / Windows software but the crazy mixup of Mac kb / Windows software forces me to think think with every keystroke.

I had the idea to remap the Cmd key to Ctrl (as I mapped the Capslock key to Ctrl, which I like on any OS, Windows, Mac or Linux) but then Cmd+Tab would be wrong.

Any recommendations to do the following customization?

  • Cmd+Tab goes to Alt+Tab
  • Cmd+Right-Arrow goes to End
  • Cmd+Left-Arrow goes to Home
  • Cmd+Up-Arrow goes to PgUp
  • Cmd+Up-Arrow goes to PgDn
  • all other Cmd+ goes to Ctrl+

I think this sort of key layout would save my sanity, but I want some as reliable as completely remapping Win-key to Ctrl-key with a small number of exceptions.

Any ideas? Should I just dive in with Autohotkey, my old standby, or is there something more reliable that doesn't require an explicit list of keys -- and remembering to start up my AHK script after each reboot?

link|improve this question

feedback

2 Answers

#SingleInstance force

#r::Send ^r ;reload

#z::Send ^z ; undo

#y::Send ^y ; redo

#f::Send ^f ; find inside apps

#c::Send ^c ; copy

#x::Send ^x ; cut

#v::Send ^v ; paste

#a::Send ^a ; select all

#t::Send ^t ; new tab in browser (IE, Safari, Firefox, etc)

#s::Send ^s ; save inside apps

LWin & Tab::AltTab ; the motherlode, alt-tab!

#Up::Send {PgUp} ; PgUp

#Down::Send {PgDn} ; PgDown

#Left::Send {home} ; Home

#Right::Send {end} ; End

#LButton::^LButton

•all other Cmd+ goes to Ctrl+

I don't know about that, is it possible or not, but most common options should be covered with that script

P.S You can set AutoHotkey to start automatically when windows starts, like any other program on windows - just copy a shortcut to AutoHotkey to folder "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup"

If you are running windows on virtualbox not with bootcamp, then remeber to change your "Host" key from Left Command to Right Command (from Virtualbox (NOT Virtualbox VM) menu "VirtualBox"->"Preferences"->"Input") to make those shortcuts work

link|improve this answer
1  
You may want to format your answer. When you edit it, in the right side there is small box telling about formatting. You can use four spaces in the beginning of the line to quote your code meaningfully, and backticks (`) around filenames and commands to quote those. – Olli Mar 3 '11 at 5:35
Thank you for the Command-Tab combination, you are my savour dear sir! – Art May 2 at 0:29
feedback

I have the same problem, except I really want to stick to the Windows/Linux shortcuts. So I'd like to switch Cmd and Ctrl in OS X, but retain Alt-Tab and Alt-F4.

I tried Jacob Rus's trick : www.hcs.harvard.edu/~jrus/site/cocoa-text.html www.hcs.harvard.edu/~jrus/site/KeyBindings/Windows%20Bindings.dict Unfortunately, it works only for Cocoa apps, and I use mainly multi-plateform apps written with different toolkits.

The other solution seems to be using PullTab+Unsanity APE+Witch (10€) www.ragingmenace.com/software/pulltab/index.html www.unsanity.com/haxies/ape/ www.macgeneration.com/news/voir/132451/basculer-entre-toutes-les-fenetres Unfortunately, I'm not planning on spending 10€ for such a complex solution to such a trivial problem.

To cap it all, switching Cmd and Ctrl in Mac OS also messes up the command-line and Emacs shortcuts completely, so even that is not a complete answer.

Any help is appreciated.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.