These instructions will set up sublime with some good setting and packages quickly.
These key bindings do two things:
- Add's camel case stops in word seperations which helps with keyboard navigation
- Add's a new shortcut
alt+space
which toggles the sidebar on and off for some nice full-width distraction free coding Copy and paste the code into your user key bindings file.
[
{ "keys": ["alt+left"], "command": "move", "args": {"by": "subwords", "forward": false} },
{ "keys": ["alt+right"], "command": "move", "args": {"by": "subword_ends", "forward": true} },
{ "keys": ["alt+shift+left"], "command": "move", "args": {"by": "subwords", "forward": false, "extend": true} },
{ "keys": ["alt+shift+right"], "command": "move", "args": {"by": "subword_ends", "forward": true, "extend": true} },
{ "keys": ["alt+space"], "command": "toggle_side_bar" },
{
"keys": ["super+alt+space"],
"command": "set_layout",
"args":
{
"cols": [0.0, 0.5, 1.0],
"rows": [0.0, 0.5, 1.0],
"cells":
[
[0, 0, 1, 1], [1, 0, 2, 1],
[0, 1, 1, 2], [1, 1, 2, 2]
]
}
}
]
First install package control by following their instructions then in your editor install these packages:
- SublimeCodeIntel
- SublimeLinter
- SublimeREPL
- BracketHighlighter
- FileDiffs
- GitGutter
- MarkdownEditing
- SideBarEnhancements
- Status Bar File Size
- HTML-CSS-JS Prettify
- Theme - itg.flat
- GotoRowCol
- JavaScript Completions
Manually install other packages
Copy and paste these into your user settings
{
"always_show_minimap_viewport": true,
"bold_folder_labels": true,
"caret_style": "phase",
"copy_with_empty_selection": false,
"draw_minimap_border": false,
"font_face": "Hack",
"font_size": 12,
"highlight_line": true,
"highlight_modified_tabs": true,
"indent_guide_options":
[
"draw_normal",
"draw_active"
],
"match_brackets_angle": true,
"open_files_in_new_window": false,
"shift_tab_unindent": false,
"spell_check": true,
"translate_tabs_to_spaces": true,
"word_wrap": true,
"show_encoding": true,
"tab_size": 2,
"theme": "itg.flat.dark.blue.sublime-theme",
"itg_sidebar_tree_small": true,
"itg_small_tabs": true
}
Follow the instructions here http://www.sublimetext.com/docs/3/osx_command_line.html