Skip to content

Instantly share code, notes, and snippets.

@deanrather
Last active July 4, 2016 08:29
Show Gist options
  • Save deanrather/2885590 to your computer and use it in GitHub Desktop.
Save deanrather/2885590 to your computer and use it in GitHub Desktop.
Sublime Text Setup
{
"installed_packages":
[
"Alignment",
"All Autocomplete",
"Case Conversion",
"DocBlockr",
"Function Name Display",
"GitGutter",
"Google Search",
"Insert Nums",
"LineEndings",
"SideBarEnhancements",
"SublimeLinter",
"SublimeLinter-jshint",
"SublimeLinter-php",
"SublimeLinter-shellcheck",
"Theme - itg.flat",
"nginx"
]
}
{
"auto_match_enabled": false,
"default_line_ending": "unix",
"dictionary": "Packages/Language - English/en_GB.dic",
"font_size": 11,
"highlight_line": true,
"ignored_packages":
[
"Vintage"
],
"itg_sidebar_tree_medium": true,
"itg_xsmall_tabs": true,
"laxbreak": true,
"mid_line_tabs": true,
"shift_tab_unindent": true,
"smarttabs": true,
"tab_completion": false,
"theme": "itg.flat.dark.orange.sublime-theme",
"trailing": true,
"trim_automatic_white_space": false
}

Sublime Text Setup

For PHP, Shell & JS development.

Install Packages & Settings

Put the attached files into:

~/.config/sublime-text-3/Packages/User/Package Control.sublime-settings

and

~/.config/sublime-text-3/Packages/User/Preferences.sublime-settings

Setup Shell Linting

sudo apt-get install cabal-install -y &&
cabal update &&
cabal install shellcheck &&
user=$USER &&
sudo ln -s /home/$user/.cabal/bin/shellcheck /usr/bin/ &&
shellcheck &&
echo "Shellcheck Installed, please restart Sublime"
@deanrather
Copy link
Author

deanrather commented Jun 18, 2012 via email

@deanrather
Copy link
Author

~/.config/sublime-text-3/Packages/User/Bash Heading.sublime-snippet

<snippet>
    <content><![CDATA[

#   ╔═════${1/./═/g}═════╗
#   ║     ${1:Heading}     ║ 
#   ╚═════${1/./═/g}═════╝
#

]]></content>
</snippet>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment