Up until Xcode 8.0, it was possible to customize IDETextKeyBindingSet.plist file. However, now it seems like modifying this file causes Xcode to stop behaving normally (e.g. arr
The previous answer left erroneous whitespace when I tried it. This works for me in Xcode 9:
selectLine:, copy:, moveToBeginningOfLine:, paste:, moveToEndOfLine: