Goes in ~/Library/Application Support/Sublime Text 2/Packages/User/Base File.sublime-settings
:
{ "color_scheme": "Packages/Color Scheme - Default/My Twilight.tmTheme", "draw_white_space": "all", "font_face": "monofur", "font_size": 13, "translate_tabs_to_spaces": true, "trim_automatic_white_space": true, "trim_trailing_white_space_on_save": true, "ensure_newline_at_eof_on_save": true, "rulers": [80], "caret_style": "phase" }
Goes in ~/Library/Application Support/Sublime Text 2/Packages/User/Global.sublime-settings
:
{ "folder_exclude_patterns": [".svn", ".git", ".hg", "CVS", ".tox"], "new_window_settings": { "side_bar_visible": false, "status_bar_visible": true, "show_tabs": true, "show_minimap": false } }
See included files for these commands:
[ { "keys": ["ctrl+shift+v"], "command": "pyflakes" }, { "keys": ["ctrl+shift+h"], "command": "reformat_json" }, { "keys": ["super+l"], "command": "show_overlay", "args": {"overlay": "goto", "text": ":"} }, { "keys": ["super+shift+l"], "command": "expand_selection", "args": {"to": "line"} } ]
They are placed in the ~/Library/Application Support/Sublime Text 2/Packages/User
folder.
At the shell:
ln -s "/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl" ~/usr/local/bin/subl # In ~/.bash_profile... alias st='subl -n'
Usage:
cd ~/Code/Python/django-tastypie st .
- None
I use my TM theme, which is a lighter variant on twilight. It's included in this Gist & goes in ~/Library/Application Support/Sublime Text 2/Packages/Color Scheme - Default/My Twilight.tmTheme
.
- I don't use fullscreen.
- Each project gets it's own window, not everything all in one window.
- I keep the sidebar hidden pretty much all the time & lean on
Goto File
(Cmd+T). - Cmd+R jumps to symbols in the file, like TM's symbol dropdown or Cmd+T (Cmd+Shift+T?).
- Ctrl-G is goto line. (want it to be Cmd+L)
- Cmd+L is select line. (want it to be Cmd+Shift+L+)
- Better variable completion