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>
@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