Insert timestamp command

Created by lee-dohm
Last updated about 1 year ago
atom.commands.add 'atom-workspace',
  'custom:insert-timestamp': ->
    now = new Date()
    atom.workspace.getActiveTextEditor().insertText(now.toISOString())

Adds a command to insert a timestamp into your editor at the current cursor location