Pimp My Editor




Download and Install


Download SublimeText from 

http://www.sublimetext.com/

  • Linux
  • Mac
  • Windows

Built In features


  • Go To Anything
  • Command Palette
  • Split Editing
  • Multiple Selections
  • Instant Project Switch

Go to Anything

Triggered with ⌘P

Fuzzy match to find files in your current project

Then use the @ to search for symbols

Or use # to search for text

Or use : to go to a line number

Command Palette


Triggered with ⌘⇧P

Using the command palette you can access almost any menu option without having to take your hands off the keyboard. 

Switch all tabs to spaces:

⌘⇧P -> spa 

the menu option "Indentation: Convert to Spaces" will show up

Split Editing

You can split your editor view to have a mixture of Rows and Columns. 

You can also have the same file open in two different panes. 

This is particularly useful if you are working in a LONG document and you don't want to have to scroll up and down the whole time you're working on it. 

Multiple Selections


By using  and your mouse you can create multiple cursors

By using ^⇧↓(or  ) you can add next (or previous) lines to your multi cursor.


If you select multiple lines using your mouse ⌘⇧L will create a cursor on each line for your selection. 

Instant Project Switch


Projects are a pretty common concept. It allows you to take a folder, save it as a project. 

You can then use ⌘^P  to switch between projects

Customizable


JSON

{
	"color_scheme": "Packages/Theme - Flatland/Flatland Dark.tmTheme",
	"draw_white_space": "all",
	"ensure_newline_at_eof_on_save": true,
	"flatland_square_tabs": true,
	"font_face": "ubuntu mono",
	"font_size": 14,
	"highlight_modified_tabs": true,
	"ignored_packages":
	[
		"Vintage"
	],
	"theme": "Flatland Dark.sublime-theme",
	"translate_tabs_to_spaces": true,
	"trim_trailing_white_space_on_save": true
}


Package Control


https://sublime.wbond.net/

Best site ever. 

If you're using ST2 or ST3 you can install package control. 

Installing packages is as easy as using the Command Palette and typing the first few letters of  package and  install

Then start typing the package you want to install

Plugins are Python

Simple plugin I wrote: 

https://github.com/fxdgear/Sublime-Plugins

Using the F7 key you can insert ipdb debug statements. 
Using ⇧F7 will remove them all

Now the cool stuff


Some of the plugins I use:

  • Modific
  • SublimeGit
  • Github
  • RESTer HTTP Client 
  • SublimeLinter
  • Python PEP8 AutoFormat

Modific

Highlight lines changed since the last commit (supports Git, SVN, Bazaar and Mercurial) / ST2(3) plugin


If you've been editing a file and you're not sure which lines have been change from the last commit. 

Hitting ^⎇D will show the diff of the current file 

SublimeGit

To really grasp the power of this plugin please spend sometime reading the docs: https://sublimegit.net/

This brings your gitworkflow INTO sublimetext. 

It's all powered by the Command Palette. 


Github

Will connect to your github account and interface with your gists. 

I typically use this to copy a selection and upload it to gist.github.com

It's really nice cause after the gist has been uploaded the url to the gist is copied to your clipboard.  

RESTer HTTP Client


Simply put turns ST into a restful client. 

Will open the response in a new tab. 

Sublimelinter


A utility that will lint your code as you type.

Can be setup to lint multiple languages

  • python
  • javascript
  • css
  • ruby
  • etc... 

Python Pep8 Auto-format


Can be configured to pep8 format your code on save. 

Or you can access the PEP8 AutoFormat via the Command Palette to automatically format your code according to PEP 8 standards. 

Pimp My Editor

By Nick Lang

Pimp My Editor

  • 12,642