I hereby claim:
- I am pestrickland on github.
- I am pestrickland (https://keybase.io/pestrickland) on keybase.
- I have a public key ASAUpwRNpL0VvxbeE9UNdEnpE2Spg1ag-p1puk0jxYEPxgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
import datetime | |
import sublime_plugin | |
class AddDateCommand(sublime_plugin.TextCommand): | |
"""Add date as snippet.""" | |
def run(self, edit): | |
"""Insert snippet containing date.""" |
[ | |
{ "keys": ["enter"], "command": "move", "args": {"by": "characters", "forward": true}, "context": | |
[ | |
{ "key": "following_text", "operator": "regex_contains", "operand": "^[)\"\\]]", "match_all": true }, | |
{ "key": "auto_complete_visible", "operator": "equal", "operand": false } | |
] | |
}, | |
// Insert date and time. | |
{"keys": ["ctrl+shift+,"], "command": "add_date" }, | |
{"keys": ["ctrl+shift+."], "command": "add_time" }, |
{ | |
"always_show_minimap_viewport": true, | |
"bold_folder_labels": true, | |
"color_scheme": "Packages/Monokai Extended/Monokai Extended.tmTheme", | |
"dictionary": "Packages/Language - English/en_GB.dic", | |
"draw_minimap_border": true, | |
"enable_telemetry": false, | |
"ensure_newline_at_eof_on_save": true, | |
"folder_exclude_patterns": | |
[ |