Last active
March 16, 2020 06:10
-
-
Save cbess/4444374 to your computer and use it in GitHub Desktop.
Xcode Delete and Duplicate Selected Lines
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
<key>Customized</key> | |
<dict> | |
<key>Delete Line</key> | |
<string>selectLine:, deleteBackward:</string> | |
<key>Duplicate Lines</key> | |
<string>selectLine:, copy:, moveToEndOfLine:, insertNewline:, paste:, deleteBackward:</string> | |
<key>Duplicate Current Line</key> | |
<string>moveToBeginningOfLine:, deleteToEndOfLine:, yank:, insertNewline:, moveToBeginningOfLine:, yank:</string> | |
</dict> |
Still works in Xcode 6.x
still works on 7.0.1, thanks!
worked with me
Xcode 7.2.1
works perfectly, thanks !
works on xcode 8 beta, thx
Doesn't work on Version 8.0 (8A218a). Modifying the IDETextKeyBindingSet.plist file results in Xcode not behaving properly, e.g. the arrow keys stop working.
For Xcode 8+, you can now get Text Toolset - Source Editor Extension which has these features and more.
Awesome worked on Xcode 8.1. Thanks alot
work for Xcode 8.3 Thanks
Doesn't work on XCode 8.3(8E162) on today
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Edit file, in Xcode 4-6.x:
/Applications/Xcode.app/Contents/Frameworks/IDEKit.framework/Versions/A/Resources/IDETextKeyBindingSet.plist