Skip to content

Instantly share code, notes, and snippets.

Sublime Text 2 – Useful Shortcuts (PC)

Loosely ordered with the commands I use most towards the top. Sublime also offer full documentation.

Editing

Ctrl+C copy current line (if no selection)
Ctrl+X cut current line (if no selection)
Ctrl+⇧+K delete line
Ctrl+↩ insert line after
@angaither
angaither / Drush Features Revert Overriden
Last active August 29, 2015 13:57
This will search for all drupal features that are overriden and revert them.
drush fl | grep 'Overridden' | awk '{print ($(NF-2))}' | xargs -i drush fr {} -y
@angaither
angaither / install-py-mysql.md
Last active August 29, 2015 14:01
To get python + flask + mysql working Mac OSx 10.9

inside flask app

pip install flask

Then

sudo su
export CFLAGS=-Qunused-arguments
@angaither
angaither / 0_reuse_code.js
Created May 8, 2014 15:47
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@angaither
angaither / rockthevote.css
Last active August 24, 2016 18:09
css changes for rtv
/* language switcher */
#setlang {
display: none !important;
}
/* already registered, share link */
#share-link {
display: none;
}
/* survey questions */
fieldset.surveyquestions {