- Command key for mac on windows keyboard code#
- Command key for mac on windows keyboard Pc#
- Command key for mac on windows keyboard free#
You’ll also need to quit/restart any open applications.Īdditonal usful bindings that are missing from this post to make it more productive and Windows: To apply the settings without rebooting just click the apple in top left, choose Force quit... select Finder and choose Relaunch. Then to access Library folder just hold down option (alt) while clicking Go menu in Finder - Library will be in the list, you can then use Finder to create the KeyBindings folder in there as normal and drag in the DefaultKeyBinding file you made earlier. Less techy peeps: don’t be put off by earlier comments that terminal access is required - it’s not required.įirst use any editor (TextEdit if that’s all you have) to create the file and save it to an easily accessible folder, such as Documents. I too would like to declare my undying love for saving me lots of swearing and lost time when developing on MacOS. I haven’t tried Sean’s suggestion of Hammer Spoon yet. Using moveToBeginningOfParagraph versus moveToBeginningOfLine seems to make no difference. I’m on Big Sur 11.2.2, and it doesn’t work in Stickies, Messages, Open Office, and probably more. There is also a Library folder under my user name, using one or both seems to make no difference.)Įvery time I do this it seems to work in fewer programs, though. (You may need to make this folder, I think my earlier flailing around in Terminal did this. rtf, as others have said), then placed that file in my hard drive>Library>KeyBindings.
Command key for mac on windows keyboard code#
I created a Text Edit file, pasted in the code Damien gave above, saved it as ‘DefaultKeyBinding.dict’(used Get Info, cmd-i to make sure it really was a. I was able to do it without using terminal at all, though. This time terminal commands don’t lead to a text edit file opening up, like some other users. Seems like I gotta do this once a year, and every time the old tricks don’t work. “^$\UF72B” = moveToEndOfDocumentAndModifySelection: // ctrl-shift-endĥ) Quit and relaunch apps for this to take effect. “^$\UF729” = moveToBeginningOfDocumentAndModifySelection: // ctrl-shift-home “^\UF72B” = moveToEndOfDocument: // ctrl-end “^\UF729” = moveToBeginningOfDocument: // ctrl-home “$\UF72B” = moveToEndOfParagraphAndModifySelection: // shift-end “$\UF729” = moveToBeginningOfParagraphAndModifySelection: // shift-home “\UF729” = moveToBeginningOfParagraph: // home Copy-paste Damien’s code into that window and hit save. Type/copy paste in “touch ~/Library/KeyBindings/DefaultKeyBinding.dict” and hit enterģ) A Notepad window will pop up. (Applications>Utilities> Terminal)Ģ) Type/copy paste in “mkdir -p ~/Library/KeyBindings/” and hit enter So, I built something that works in all contexts (ok, almost all) using Hammerspoon, a superb tool for automation on the Mac: įor those like me, who aren’t regular Terminal users and who don’t just intuitively know what “create a file… with the following contents” means:ġ)Open Terminal. Karabiner is the go-to tool for key remapping, but there are issues with Sierra (Karabiner-elements is the next thing, but still a work in progress. There you need to pass different keys so everything works.
Command key for mac on windows keyboard Pc#
Trouble is, you can’t map control+fn (for copy), nor shift+fn (for paste), which are the keys that map positionally on a PC keyboard (I’m talking for PC keyboards with 2 rows of three keys: Ins, Home, Pg UP / Del, End, Pg Down).Īnother issue is when you are like me, doing lots of Windoz in a VM (Oracle Virtualbox) and remote desktop (Microsoft Remote Desktop for MacOS). I am a left-hand mouser and wanted cut/copy/paste functions with the right hand.
Command key for mac on windows keyboard free#
If you have a PC keyboard with LED back-lighting and would like the scroll-lock, num-lock or caps-lock LEDs on when using your Mac check out my free SetLEDs for MacĭefaultKeyBinding.dict is ignored by some applications like XCode and Firefox and in some views like in WebKit web inspectors.Īlso good luck mapping the function key, caps lock (read up on that- a large amount of people want that). Also make sure your editor does not append TXT to the end of it! Note that you need to reboot after creating this file for it to take effect. Shift Ctrl Home and Shift Ctrl End will select to start and end of document.Ctrl Home and Ctrl End will go to start and end of document.Shift Home and Shift End will select to start and end of line.Home and End will go to start and end of line.This remapping does the following in most Mac apps - including Chrome (some apps manage their key handling directly): "^$\UF72B" = moveToEndOfDocumentAndModifySelection: // ctrl-shift-end "^$\UF729" = moveToBeginningOfDocumentAndModifySelection: // ctrl-shift-home "^\UF72B" = moveToEndOfDocument: // ctrl-end "^\UF729" = moveToBeginningOfDocument: // ctrl-home "$\UF72B" = moveToEndOfParagraphAndModifySelection: // shift-end "$\UF729" = moveToBeginningOfParagraphAndModifySelection: // shift-home "\UF729" = moveToBeginningOfParagraph: // home