Skip to content

Instantly share code, notes, and snippets.

@ericdouglas
Last active November 28, 2016 12:15
Show Gist options
  • Select an option

  • Save ericdouglas/e190d3865087bd05fa36ebfb73d2cdcb to your computer and use it in GitHub Desktop.

Select an option

Save ericdouglas/e190d3865087bd05fa36ebfb73d2cdcb to your computer and use it in GitHub Desktop.
Sublime Text Tips

Sublime Text Tips

Configure Escape for Vintageous:

Go to Preferences > Key Bindings

[
	{
        "keys": ["k", "j"],
        "command": "_enter_normal_mode",
        "args": {
            "mode": "mode_insert"
        },
        "context": [{"key": "vi_insert_mode_aware"}]
    }
]

Configure Color Highlighter

Go to Preferences → Package Settings → Color Highlighter → Settings – User

{
    "ha_style": "filled"
}

AdvancedNewFile

Go to Preferences > Key Bindings

[
    { "keys": ["shift+alt+n"], "command": "advanced_new_file_new"}
]

Material Theme

Go to Preferences > Settings

{
    // Default theme
    "theme": "Material-Theme.sublime-theme",
    "color_scheme": "Packages/Material Theme/schemes/Material-Theme.tmTheme"
}

{
    // Darker theme
    "theme": "Material-Theme-Darker.sublime-theme",
    "color_scheme": "Packages/Material Theme/schemes/Material-Theme-Darker.tmTheme"
}

{
    // Lighter theme
    "theme": "Material-Theme-Lighter.sublime-theme",
    "color_scheme": "Packages/Material Theme/schemes/Material-Theme-Lighter.tmTheme"
}

Conigure Emmet for React

{
  "keys": ["tab"], 
  "command": "expand_abbreviation_by_tab", 
  "context": [
    {
      "operand": "meta.group.braces.round.js, text.html, meta.group.braces.round.jsx", 
      "operator": "equal", 
      "match_all": true, 
      "key": "selector"
    }, 
    {
      "match_all": true, 
      "key": "selection_empty"
    },
    {
      "operator": "equal", 
      "operand": false, 
      "match_all": true, 
      "key": "has_next_field"
    }, 
    {
      "operand": false, 
      "operator": "equal", 
      "match_all": true, 
      "key": "auto_complete_visible"
    }, 
    {
      "match_all": true, 
      "key": "is_abbreviation"
    }
  ]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment