Mathjax javascript librry setup

Sublime Text 2 Open Notebook

Sublime Text 2 - Useful Shortcuts (Mac OS X)


⌘T go to file
⌘⌃P go to project
⌘R go to methods
⌃G go to line
⌘KB toggle side bar
⌘⇧P command prompt
⌃ ` python console
⌘⇧N new window (useful for new project)


⌘L select line (repeat select next lines)
⌘D select word (repeat select others occurrences in context for multiple editing)
⌃⇧M select content into brackets
⌘⇧↩ insert line before
⌘↩ inter line after
⌃⇧K delete line
⌘KK delete from cursor to end of line
⌘K⌫ delete from cursor to start of line
⌘⇧D duplicate line(s)
⌘J join lines
⌘KU upper case
⌘KL lower case
⌘ / comment
⌘⌥ / block comment
⌘Y redo or repeat
⌘⇧V past and ident
⌃ space autocomplete (repeat to select next suggestion)
⌃M jump to matching brackets
⌘U soft undo (movement undo)
⌘⇧U soft redo (movement redo)


⌘⇧A select content into tag
⌘⌥ . close tag


⌘F find
⌘⌥F replace
⌘⌥G find next occurrence of current word
⌘⌃G select all occurrences of current word for multiple editing
⌘⇧F find in files


⌘⌥1 single column
⌘⌥2 two columns
⌘⌥5 grid (4 groups)
⌃[1,2,3,4] focus group
⌃⇧[1,2,3,4] move file to group
⌘[1,2,3…] select tab


⌘F2 toggle bookmark
F2 next bookmark
⇧F2 previous bookmark
⌘⇧F2 clear bookmarks


⌘K space set mark // ⌘K; for me
⌘KW delete from cursor to mark
⌘KA select from cursor to mark
⌘KG clear mark

Tips and tricks


My Installed Packages

  • Package Control and for installation instructions - you need to install this first
  • SublimeREPL - supports Read Eval Print Loops for a wide range of languages
  • SML (StandardML) - SML language support and snippets
  • Add SML support Sublime REPL
  • Table Editor - very nice set of commands for editing Markdown, Multi-Markdown and Pandoc tables
  • Solarized Color Scheme - actually this is now included with the default Sublime Text 2 distribution. I love the Solarized Light colors
  • Side Bar Enhancements - adds a nice set of menus and command to the side bar
  • Sublime-text-2-git - Guess what? It adds Git support
  • SublimeLinter - adds support for “lint” code checking for a wide range of languages
  • SodaTheme - this was a very popular theme for ST2 in the early days, when ST2 didn’t look so good. I think the basic ST2 “out of the box” theme is actually very good now. Just change the color scheme to Solarized Light, and perhaps change the font to either Anonymous Pro or Adobe’s Source Code Pro. I highly recommend the Anonymous Pro font, both for using on for desktop PC, and as a web font. Its clear, compact, and available in a wide range of styles.
  • Sublime Alignment - this will align equals signs or other assigment operators in source code.
  • Marked Build script - adds a build command to show Markdown output in the Marked app on Mac OS X.
  • Smart Markdown - Adds a set of Markdown editing commands, including a table editor. Inspired by Emacs Org Mode. This package includes support to edit Pandoc-style grid tables, and to generate output with Pandoc, Basic Pandoc by integrating the SublimePandoc package.
  • Sublime Pandoc - Adds support for using Pandoc to render Markdown files
  • Pandoc Academic - Adds a rich set of utilities for using Pandoc to generate output from Markdown files. includes snippets, and commands to create Pandoc style grid tables
  • Pandown - A build system for very versatile generation of documents using Pandoc. But this package does not have an snippets or editing commands.
  • Advanced New File - Allows for faster file creation within a project
  • LaTeX Tools - Great support for writing LaTeX documents.
  • Shell Turtlestein - Allows you to run shell commands from within ST2. Mr. Turtlestein acts as a more flexible alternative to Sublime’s build systems. Commands run in your project’s directory.
  • Bracket Highlighter - Highlights matching backets. It’s pretty custimizable.packageee

Ruby Packages