Skip to content

Instantly share code, notes, and snippets.

View darylknight's full-sized avatar

Daryl Knight darylknight

View GitHub Profile
@darylknight
darylknight / Sublime Project
Last active October 29, 2019 09:31
Basic project file for ST3
{
"folders": [
{
"name": "Root",
"path": "/",
"folder_exclude_patterns": ["config", "db", "modules", "node_modules", "public", "src", "storage", "templates", "vendor" ]
}, {
"name": "Templates",
"path": "templates"
}, {
@darylknight
darylknight / preferences.sublime-settings
Last active February 18, 2021 11:51
Sublime Text 3 Preferences
{
"always_show_minimap_viewport": true,
"bold_folder_labels": true,
"color_scheme": "Packages/Material Theme/schemes/Material-Theme.tmTheme",
"detect_indentation": false,
"detect_slow_plugins": false,
"drag_text": false,
"fade_fold_buttons": false,
"font_options":
[
# Needed for MAMP on Windows
Options +SymLinksIfOwnerMatch
<IfModule mod_rewrite.c>
RewriteEngine On
# www redirects
RewriteCond %{HTTPS} off
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
[
{ "keys": ["f5"], "command": "reindent"}, // auto indent
{ "keys": ["ctrl+shift+up"], "command": "select_lines", "args": {"forward": false} }, // multiselect
{ "keys": ["ctrl+shift+down"], "command": "select_lines", "args": {"forward": true} }, // multiselect
{ "keys": ["ctrl+r"], "command": "show_panel", "args": {"panel": "replace"} }, // replace
{ "keys": ["alt+shift+w"], "command": "insert_snippet", "args": { "name": "Packages/XML/Snippets/long-tag.sublime-snippet" } }, // wrap in tag
{ "keys": ["ctrl+t"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true} }, // switch files
{ "keys": ["ctrl+alt+p"], "command": "prompt_select_workspace" }, // switch workspaces
{ "keys": ["ctrl+shift+s"], "command": "save_all" }, // save all
{ "keys": ["alt+left"], "command": "move_to", "args": {"to": "bol", "extend": false} }, // Beginning of line OSX behaviour
[
{ "keys": ["f5"], "command": "reindent"}, // auto indent
{ "keys": ["super+r"], "command": "show_panel", "args": {"panel": "replace"} }, // replace
{ "keys": ["super+shift+w"], "command": "insert_snippet", "args": { "name": "Packages/XML/Snippets/long-tag.sublime-snippet" } }, // wrap in tag
{ "keys": ["super+t"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true} }, // switch files
{ "keys": ["super+option+p"], "command": "prompt_select_workspace" }, // switch workspaces
]