Skip to content

mwerner/sublime

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sublime Resources

Installation

Clone this repo into the application support:

git clone git@github.com:mwerner/sublime.git /Users/mwerner/Library/Application\ Support/Sublime\ Text\ 3/Packages
Command+Shift+p => Package Control: Install Package => Material Theme

# Copy your preferences into place:
curl https://raw.githubusercontent.com/mwerner/sublime/master/preferences.json | pbcopy
Command + , => Paste curl response into your preferences

Package Control

Package Control is a required addition to make use of community plugins

import urllib.request,os; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); open(os.path.join(ipp, pf), 'wb').write(urllib.request.urlopen( 'http://sublime.wbond.net/' + pf.replace(' ','%20')).read())

Generally when it comes to plugins, I try to add only the very essentials. Get too many extensions and I always feel like it bogs down a snappy editor. To that end, this is the list of packages I use:

Crucial for converting a single quote string to a double when an interpolation need is added. To enable keyboard shortcuts, add this to Sublime Text > Preferences > Key Bindings

{ "keys": ["super+shift+'"], "command": "change_quotes" }

Styling and keyboard shortcuts for the Find Results buffer.

Really necessary to be able to issue small git commands. I mainly end up using it for git blame

This one is great when skimming a file to find your changes. Nicely displays the changes alongside the gutter.

Git Gutter Plugin

Consistency in your style is great, this guy helps enforce.

See above

I've grown to really like the blended sidebar, color scheme, and clean lines. Combine that with the high contrast Chalked theme and you've got an editor you can look at for long periods of time without any problems.

This has really helped with keeping clean, professional, file changes in your PRs. I find this combined with the ensure_newline_at_eof_on_save setting avoids a lot of sloppy commits on public projects. The Chalked theme also helps a lot by highlighting the trailing spaces bright red

Update in Sublime Text > Preferences > Package Settings > Trailing Spaces > Settings - User

{
	"trailing_spaces_highlight_color": "invalid.illegal"
} 

Trailing Spaces Plugin

Syntax Highlighting

Including: CSV, Dockerfile, Haml, Sass, JSX

Preferences

The Preferences file sets up small behavior tweaks, use of the Material Theme, general look and feel, and omits folders from the sidebar:

preferences.json

Themes

Chalked

Chalked is the theme I use most. Focused on high contrast colors while staying in a natural spectrum.

chalked.png

Hack

I started these theme recently. It still needs some work, but I'm hoping to get something that's good for late night work.

hack.png

About

Sublime Resources

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published