Created
December 30, 2014 02:55
-
-
Save darklight721/aae5d1c4f4fdebbe6572 to your computer and use it in GitHub Desktop.
Atom command to terminate line with a semicolon
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
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