Skip to content

Instantly share code, notes, and snippets.

@phanviet
Created December 6, 2019 02:26
Show Gist options
  • Save phanviet/aae550b716966119e1aa8b9cd98d8978 to your computer and use it in GitHub Desktop.
Save phanviet/aae550b716966119e1aa8b9cd98d8978 to your computer and use it in GitHub Desktop.
atom snippets
# Your snippets
#
# Atom snippets allow you to enter a simple prefix in the editor and hit tab to
# expand the prefix into a larger code block with templated values.
#
# You can create a new snippet in this file by typing "snip" and then hitting
# tab.
#
# An example CoffeeScript snippet to expand log to console.log:
#
# '.source.coffee':
# 'Console log':
# 'prefix': 'log'
# 'body': 'console.log $1'
#
# Each scope (e.g. '.source.coffee' above) can only be declared once.
#
# This file uses CoffeeScript Object Notation (CSON).
# If you are unfamiliar with CSON, you can read more about it in the
# Atom Flight Manual:
# http://flight-manual.atom.io/using-atom/sections/basic-customization/#_cson
'.source.gfm':
'report':
'prefix': 'report'
'body': """Hi Cong,
${1:Today, I ...}
#### I. FINISHED
- ${2:None}
#### II. IN PROGRESS
- ${3:None}
#### III. ISSUES
- ${4:None}
#### IV. NEXT PLAN
- ${5:None}
Thanks,
Viet Phan"""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment