Skip to content

Instantly share code, notes, and snippets.

@cbess
Last active March 16, 2020 06:10
Show Gist options
  • Save cbess/4444374 to your computer and use it in GitHub Desktop.
Save cbess/4444374 to your computer and use it in GitHub Desktop.
Xcode Delete and Duplicate Selected Lines
<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>
@deda9
Copy link

deda9 commented Dec 23, 2016

Awesome worked on Xcode 8.1. Thanks alot

@amine2233
Copy link

amine2233 commented Feb 27, 2017

work for Xcode 8.3 Thanks

@hsleedevelop
Copy link

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