Skip to content

Instantly share code, notes, and snippets.

View banrahan's full-sized avatar

Ben banrahan

  • Microsoft
  • State College
View GitHub Profile
@banrahan
banrahan / pdb.sublime-snippet
Last active December 20, 2015 19:28
python breakpoint snippet for sublime
<snippet>
<content><![CDATA[
import pdb; pdb.set_trace()
]]></content>
<tabTrigger>pdb</tabTrigger>
<scope>source.python</scope>
</snippet>
@banrahan
banrahan / R.sublime-build
Created July 31, 2013 09:12
R build system for Sublime Text 3
{
"cmd": ["/usr/local/bin/Rscript", "$file"],
"selector": "source.r"
}
# Mac OS X Lion introduced a new, iOS-like context menu when you press and hold a key
# that enables you to choose a character from a menu of options. If you are on Lion
# try it by pressing and holding down 'e' in any app that uses the default NSTextField
# for input.
#
# It's a nice feature and continues the blending of Mac OS X and iOS features. However,
# it's a nightmare to deal with in Sublime Text 2 if you're running Vintage (Vim) mode,
# as it means you cannot press and hold h/j/k/l to move through your file. You have
# to repeatedly press the keys to navigate.