Last active
July 21, 2020 08:08
-
-
Save marcolabreu/869b48afcde475c9b76f748aebe3fdd8 to your computer and use it in GitHub Desktop.
Add line duplication to Xcode key bindings located at /Applications/Xcode.app/Contents/Frameworks/IDEKit.framework/Versions/A/Resources/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<!-- Lots of code already there --> | |
<!-- Add the following key and dict after installing or updating Xcode --> | |
<key>Duplication</key> | |
<dict> | |
<key>Duplicate Line</key> | |
<string>moveToBeginningOfLine:, deleteToEndOfLine:, yank:, insertNewline:, moveToBeginningOfLine:, yank:</string> | |
<key>Duplicate Lines</key> | |
<string>selectLine:, copy:, moveToEndOfLine:, insertNewline:, paste:, deleteBackward:</string> | |
</dict> | |
</dict> | |
</plist> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment