I recently switched to Atom text editor for programming from Geany text editor. I have lots of python snippets in geany. In geany writing snippets is super easy.
For example:
# for geany text editor (snippets.conf file)  
h=# Author : Bhishan Poudel\n# Date   : {date}\n  
If I type h and then hit enter, i will get the above snippet with current time.
How can we do so in ATOM?
My attempt so far is this:
I edited the snippets.cson file like this:  
'.source.python':
  'example1':
    'prefix': 'h'
    'body': '
      #!/usr/bin/env python\n
      # -*- coding: utf-8\n
      #\nDate: {date}\n
      #Imports\n
      import numpy as np
      '
But, this did not work well.
Related links are:
Atom editor: snippet for inserting a timestamp
http://flight-manual.atom.io/using-atom/sections/snippets/
Atom Editor: multiple snippets 
 
     
    