0

I work as a developer and exclusively use the keyboard for text selection and navigation. I have to switch between windows and OSX a lot.

Is there any way to make

  1. the OSX keyboard behave like windows
    or
  2. the windows keyboard behave like OSX

particularly when it comes to text editing?

The differences hurt my productivity, because whenever I switch platform, my muscle memory kicks in and will use the wrong combinations on the other OS, which will lead to a wrong caret position at best, or - depending on the program - switched inapp-windows and/or other very undesired behavior which takes even more time to correct at worst.

I would prefer Version 1, because - while i can train my brain to swap, i am used to it more and also the windows-behavior seems "more" standard to me, since it is used on mainstream Linux Desktops as well.

Text editing keyboard shortcuts:

move to the start / end of a line:
Windows: pos1 / end
OSX: ctrl+left / ctrl+right

move to the start / end of the document
Windows: ctrl+pos1 / ctrl+end
OSX: pos1 / end

move to the start / end of the current word
Windows: ctrl+left / ctrl+right
OSX: alt+left / alt+right

(I am happy that the added shift key behaves consistently across platforms, performing selection instead of mere caret navigation)

Bonus question: other keyboard shortcuts:

I already swapped the Command-key with control globally in osx keyboard settings, to make behavior a bit more consistent (i.e, ctrl+s to save instead of command+s)

However when it comes to navigation between application, this breaks down, because:

Next/previous tab within an application
Windows: ctrl+tab / ctrl+shift+tab
OSX: ctrl+tab / ctrl+shift+tab

Also it does not solve

Next Application
Windows: alt+tab
OSX: command+tab

A solution that also covers this would be even better :)

2

This type of question crops up at least once a week on here or SuperUser, though never with sufficient similarity to really group them all as potential duplicates of each other.

In short, you can't do it. You might get close employing such as Karabiner, Better Touch Tool, AutoHotKey etc, but you will never achieve 100%. You additionally have to fight that not only is Mac a paradigm shift from Windows, but that Terminal-type apps also have a separate set of rules.

TL:DR Learn the differences. Long-term it's better than trying to fight it.

One really good tip to help you learn the difference…
Don't try to use the same keyboard for both. Have a Mac keyboard & a PC keyboard.

Anecdotally, I've been working cross-platform for 20 years, prior to that I was Mac only.
I daily have to work with

  • Macs on Mac keyboards
  • Windows on Win keyboards
  • a Mac with a Windows keyboard [because I needed a wireless one with built-in trackpad]
  • Windows over RDC from a Mac keyboard.

The first two are easy, the last two are [comparitively] hard.

A comparison, if you ever drive abroad - it's much easier to drive a rental with the steering wheel on the correct side for the country you're in than it is to take your own car & be on the 'wrong' side of the road. As a Brit, this happens almost everywhere I travel, as we're in the minority in driving on the 'proper' side of the road :P

4
  • You might get away with a UNIX, command line level editor (emacs, vi, etc.) as they are almost universally customizable down to the smallest bits. But while UNIX utilities are commonly available to Mac users, they are less so for Windows users. So the question remains can you use such an editor on both systems and are you willing to spend the time fiddling with configurations to get them both exactly the same? – Steve Chambers Aug 19 '20 at 18:32
  • Thank you for the answer an - oh well ... That's very very sad.to hear :/ So if i understand you correctly, a different keybord will help my muscle-memory to swtich ... like if i was to switch from a guitar to a bass, if that analogy makes sense? – IARI Aug 19 '20 at 22:51
  • It's potentially a bit more like moving from bass to cello [one's tuned in 4ths the other in 5th] but yes, a decent analogy :) Along that tack - last year I had to play upright bass in a gig for a month, having not touched one in 40 years. First day I could barely find a note. By the end of the month it was second nature. It does come to you, with practise. – Tetsujin Aug 20 '20 at 6:08
  • I'm still too lazy for that, because i need to productively get shit done right now, and at the moment the back-and-forth switching just doesnt really work well. The thing is, i would there are A LOT of keyboard shortcuts in the Intellij IDEs, which i use heavily, and if i want to use the osx profile, they are entirely different as well, but the windows profile conflicts with native osx shortcuts. so for a start i will give Karabiner a try, thanks fpr that hint. – IARI Aug 24 '20 at 10:23

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .