Skip to content

Instantly share code, notes, and snippets.

@emreberge
Last active October 6, 2021 14:18
Show Gist options
  • Save emreberge/3039763 to your computer and use it in GitHub Desktop.
Save emreberge/3039763 to your computer and use it in GitHub Desktop.
Custom command on Xcode
<key>Customized</key>
<dict>
<key>Duplicate Current Line Below</key>
<string>selectLine:, copy:, moveRight:, paste:, moveLeft:</string>
<key>Duplicate Current Line Above</key>
<string>selectLine:, copy:, moveToBeginningOfLine:, paste:, moveLeft:</string>
<key>Delete Current Line</key>
<string>selectLine:, deleteBackward:</string>
</dict>
@emreberge
Copy link
Author

Custom command on Xcode.

cd /path/to/Xcode.app/Contents/Frameworks/IDEKit.framework/Resources
sudo vim IDETextKeyBindingSet.plist

In Xcode Preferences -> Key Bindings search for the names of the keys.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment