Giter Site home page Giter Site logo

sublime's Introduction

Sublime Resources

Installation

Clone this repo into the application support:

git clone [email protected]: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

sublime's People

Contributors

mwerner avatar

Watchers

 avatar

Forkers

andremollerhaug

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.