Skip to content

Instantly share code, notes, and snippets.

@mrkaspa
Created May 19, 2016 17:26
Show Gist options
  • Save mrkaspa/165067d1d832e9acf2fd28f73dc1b353 to your computer and use it in GitHub Desktop.
Save mrkaspa/165067d1d832e9acf2fd28f73dc1b353 to your computer and use it in GitHub Desktop.
atom.commands.add 'atom-text-editor',
'custom:insert-pipe': (event) ->
editor = @getModel()
editor.insertText('|>')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment