Ilvsx's Blog

return practice() ? '1 week' : 'never';

Laracasts - Sublime Text Mastery

  • 01 Make Sublime Pretty
    • Install Package:
      • Material Theme
      • Colorsublime
      • PackageResourceViewer
    • Install Color Scheme: Facebook
    • Install Font: Fira Code
    • Close Minimpa: View -> Hide Minimap
    • Modfi Package:
      • PackageResourceViewer: Extract Package -> Material Theme
      • Edit: Material-Theme.sublime-theme
      • Replace: 37, 43, 57
    • Settings-User

      "theme": "Material-Theme.sublime-theme",
      "color_scheme": "Packages/Material Theme/schemes/Material-Theme.tmTheme",
      "overlay_scroll_bars"          : "enabled",
      "line_padding_top"             : 3,
      "line_padding_bottom"          : 3,
      "bold_folder_labels"           : true,
      "indent_guide_options"         : [ "draw_normal", "draw_active" ],   // Highlight active indent
      "font_options"                 : [ "gray_antialias" ],                      // On retina Mac
      "font_szie"                    : 15,
      "line_numbers"                 : false,
      "margin"                       : 0,
      
  • 02 Most Important Shortcuts
    • ⌘P: Goto Anything...
    • ⌘K,⌘B: Show/Hide Side Bar
    • ⌘R: Goto Symbol...
    • ⇧⌘R: Goto Symbol in Project...
  • 03 Super-Fast File Creation
    • Install Package:
      • AdvanceNewFile
    • ⌥⌘n: “advanced_new_file_new”
  • 04 Do The Splits With Origami
    • Install Package:
      • Origami
    • Preferences -> Key Bindings - User

      [
        { "keys": [":", "v", "s", "p"], "command": "create_pane", "args": {"direction": "right", "give_focus": true} },
        { "keys": [":", "s", "p"], "command": "create_pane", "args": {"direction": "down", "give_focus": true} },
        { "keys": [":", "b", "d"], "command": "destroy_pane", "args": {"direction": "self"} },
      ]
      
  • 05 Vintage Mode

  • 06 Multiple Cursors
    • ⌘D : Select same word
    • ⌃⌘G : Select all same word
  • 07 Better PHP Workflow
  • 08 Better PHPUnit Workflow
  • 09 Trigger Artisan From Sublime
  • 10 Automatic PSR-2 Formatting
  • 11 Lint Your PHP