Terminal window inside Sublime Text 2

EDIT 04/23/2019: Terminus extends TerminalView & adds:

  • Windows support
  • Continuous history
  • Easily customizable themes (see Terminus Utilities)
  • Unicode support
  • 256 colors support
  • Better xterm support
  • Terminal panel view
  • imgcat support (also works on Linux / WSL)

Bind key shortcut to open shell on file path (e.g. ctrl+alt+t to open):

{ 
  "keys": ["ctrl+alt+t"], "command": "terminus_open", "args": {
    "cwd": "${file_path:${folder}}"
  }
}

enter image description here

enter image description here


Original Answer:

I've tried pretty much every terminal package around, what you want is TerminalView:

enter image description here

To bind a key shortcut, simply add it to your user key bindings file:

{ "keys": ["ctrl+alt+t"], "command": "terminal_view_open" },

SublimeREPL does what you want

https://github.com/wuub/SublimeREPL/

Of course, there are some limitations because the window of Sublime Text 2 is not originally designed for continuous running buffer of stdin input.


+ 2 years (sorry) - but my solution in ubuntu was to open both sublime and my (real) terminal in the same window, shrink and stretch the terminal to cover the lower portion of the screen, then right click on the terminal and select "keep on top" - works a treat.