Skip to content

Instantly share code, notes, and snippets.

@darklight721
Created December 30, 2014 02:55
Show Gist options
  • Save darklight721/aae5d1c4f4fdebbe6572 to your computer and use it in GitHub Desktop.
Save darklight721/aae5d1c4f4fdebbe6572 to your computer and use it in GitHub Desktop.
Atom command to terminate line with a semicolon
atom.commands.add 'atom-text-editor',
'easy-semicolon:end-line': (event) ->
editor = @getModel()
editor.moveToEndOfLine()
editor.insertText(';')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment