Indeed would not be the first company that will insist I use a Mac to code. It dawned on me that this would be my reality moving forward, that I am subject to the whims of that big corporation that I dislike so much.
It became much less amusing when I was provided with the 2017 Macbook Pro (with no esc key and a really useless touch bar) on my first day of work. “That’s what you get for choosing to use Apple I guess.”, I mused hypocritically, using the 2015 Macbook Pro (with physical buttons) that my company gave me to work on. I found the backlash pretty amusing at that time. Apple had just released their new, bold, courageous, Macbook Pro that decided that ports and physical buttons were a thing of the past. The year is 2017, and I had just started my internship at Indeed.
This is because that combination is mapped to something else. When is was set to 'Mac OS X' the KeyRemap4MacBook mappings worked well except that Ctrl-Home/End wouldn't work.
Originally it was set to 'Mac OS X' but is now set to 'Default'. Since getting this working it looks like I've changed my IntelliJ Keymap (from Preferences). In fact part of the reason I'm writing this post at all is so I have a record of what's required. I'm writing this a while after I originally implemented it. This means that there can be a conflict with KeyRemap4MacBook. IntelliJ complicates things slightly as it provides its own key-mapping functionality similar to that of KeyRemap4MacBook but solely for itself. This private.xml is also available as a GIST. I think it would be easier to understand if this element were broken down into child elements with say and elements. This is source combo followed by combo to generate instead separated by a comma. The weird thing from an XML perspective is the element. Each entry is a separate mapping but they are enabled/disabled collectively. all the ctrl-home/end mappings are together. These don't have to be similar but this the intention, i.e.
The format allows multiple mappings to be grouped. The _L & _R refer to keys which appear twice: on the left & right side of the keyboard.
that can be referred too but I also looked at the XML file from the source that contains the 'For PC Users' mapping.
and description I used KeyRemap4MacBook's replacement macro feature. along with using the appendix element to state this in the description. To enable this I used the element giving a list of excluded apps.
VMs, VNC & RDC (where Windows is running anyway) and Terminal where it interferes with bash. I didn't want these mappings other than swapping backslash and backquote to be applied in various apps. Obtain the correct behaviour for the '\|' key and the '`¬' key.Ctrl-S for save current document (I habitually press this whilst editing).In addition to these keys I wanted the following combos to be available across all of OS X and any apps. For starters this means I use a PC keyboard with the iMac rather than the Apple keyboard as it lacks these keys I'm also based in the UK so I use a British PC keyboard.
In particular I depend on the various Windows & Visual Studio editor key combinations plus the Insert, Delete, Home & End keys. Most of my previous work has been done on UNIX (so command lines & vi) and Windows. This has meant I've been spending time in OS X and using IntelliJ with the the ActionScript/Flex/AIR plugin as my IDE. I've been using ActionScript in combination with Adobe AIR in order to create an iOS app. Recently I've been doing some ActionScript programming.