Skip to content

Instantly share code, notes, and snippets.

@chenshengzhi
Last active June 27, 2016 05:39
Show Gist options
  • Save chenshengzhi/52f83b1dcd1a13b5a24694080c76286c to your computer and use it in GitHub Desktop.
Save chenshengzhi/52f83b1dcd1a13b5a24694080c76286c to your computer and use it in GitHub Desktop.
Xcode duplicate and delete line
<key>Custom</key>
<dict>
<key>Delete Current Line</key>
<string>selectLine:, deleteBackward:</string>
<key>Duplicate Current Line</key>
<string>selectLine:, copy:, moveToEndOfLine:, insertNewline:, paste:, deleteBackward:</string>
</dict>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment