Skip to content

Instantly share code, notes, and snippets.

Keybase proof

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:

@pestrickland
pestrickland / add_date.py
Created November 8, 2015 14:23
Sublime Text plugin to insert date and time
import datetime
import sublime_plugin
class AddDateCommand(sublime_plugin.TextCommand):
"""Add date as snippet."""
def run(self, edit):
"""Insert snippet containing date."""
@pestrickland
pestrickland / Default (Linux).sublime-keymap
Created November 8, 2015 14:21
My Keymap for Sublime Text
[
{ "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" },
@pestrickland
pestrickland / Preferences.sublime-settings
Last active October 28, 2015 07:32
My settings for Sublime Text 3
{
"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":
[