Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

MacOS makes it easy to remap modifier keys. Command can be mapped to Control, with Control put elsewhere. I mention this because this review (and many like it) mention the mental disconnect when frequently switching between Macs and Windows or Linux.

I'm one of those people. Putting Command on Control means that's one less thing I have to think about. Keyboard shortcuts become mostly the same between the different systems.



There's still a disconnect between Windows's ALT and mac's CMD, which impacts what CTRL does. For instance on mac CTRL+A is the emacs binding while windows maps Select All.

I don't think there is any magic bullet, short of remapping all shortcuts on either of the system, it's just tricky.


Why would you use Ctr-A? You'd still use Cmd-A, but with Cmd moved to the same spot as on your PC (where Mac has Ctrl)


I remap caps lock to backspace and (as far as I know) need Karabiner to do it. Is there a built-in way?


Keyboard under System Settings should give you options for changing all the modifier keys. I've got Caps Lock modified to be Escape on mine. Though the jokes on me as I just hit ESC all the time and forget about my remapped Caps.

There's similar options on iOS if you use an external keyboard there.


karabiner allows you to make caps lock escape when pressed alone and ctrl when pressed with a letter key (caps lock is where ctrl was on the keyboards vi was designed for)


No because Backspace is not considered a modifier key. The available options for Caps Lock are Control, Option, Command, fn, Escape or just disabling the key entirely.


If you have a workflow that involves RDP to Windows, you also basically have to use Karabiner to swap command and control for RDP only in order to maintain sanity of shortcuts between macOS/Windows.


There is a builtin utility for this on Macs with a few ways to configure. This is the commandline arg to remap caps lock to backspace

hidutil property --set '{"UserKeyMapping":[{"HIDKeyboardModifierMappingSrc":0x700000039,"HIDKeyboardModifierMappingDst":0x70000002A}]}'


Out of curiosity, is this approach flawless? Does it work always, in every app, including login screen?


Yeah it does. You can create a config file that persists the mapping on reboots (described in depth here https://rakhesh.com/mac/using-hidutil-to-map-macos-keyboard-...)


So many years of Mac OS and I still remap the keyboard to Cmd-Ctrl-Alt.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: