Skip to content

Commit db4b78f

Browse files
committed
Upgrade, Add SFTP, Change theme so we get pretty new one in 2165, Add ZenCoding.
1 parent d19ba88 commit db4b78f

File tree

381 files changed

+8585
-1168
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

381 files changed

+8585
-1168
lines changed

Alignment/Alignment.pyc

0 Bytes
Binary file not shown.
+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"font_face": "Menlo Regular",
3-
"font_size": 11,
3+
"font_size": 12,
44
"scroll_past_end": false,
5-
"find_selected_text": false
5+
"find_selected_text": false,
6+
"move_to_limit_on_up_down": true
67
}

Default/Base File.sublime-settings

+49-4
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@
2727
// Set to false to hide the gutter altogether
2828
"gutter": true,
2929

30+
// Fold buttons are the triangles shown in the gutter to fold regions of text
31+
"fold_buttons": true,
32+
33+
// Hides the fold buttons unless the mouse is over the gutter
34+
"fade_fold_buttons": true,
35+
3036
// Columns in which to display vertical rulers
3137
"rulers": [],
3238

@@ -119,6 +125,12 @@
119125
// you'll need to place this line in your user settings to override it.
120126
"scroll_past_end": true,
121127

128+
// This controls what happens when pressing up or down when on the first
129+
// or last line.
130+
// On OS X, this value is overridden in the platform specific settings, so
131+
// you'll need to place this line in your user settings to override it.
132+
"move_to_limit_on_up_down": false,
133+
122134
// Set to "none" to turn off drawing white space, "selection" to draw only the
123135
// white space within the selection, and "all" to draw all white space
124136
"draw_white_space": "selection",
@@ -130,10 +142,9 @@
130142
"draw_indent_guides": true,
131143

132144
// Controls how the indent guides are drawn, valid options are
133-
// "draw_normal", "draw_active", "draw_stack" and "normal_stippled",
134-
// "active_stippled" and "stack_stippled"
135-
"indent_guide_options": ["draw_normal", "draw_active", "draw_stack",
136-
"normal_stippled", "stack_stippled", "active_stippled"],
145+
// "draw_normal" and "draw_active". draw_active will draw the indent
146+
// guides containing the caret in a different color.
147+
"indent_guide_options": ["draw_normal"],
137148

138149
// Set to true to removing trailing white space on save
139150
"trim_trailing_white_space_on_save": false,
@@ -150,6 +161,13 @@
150161
// ASCII, UTF-8 and UTF-16 encodings will be automatically detected.
151162
"fallback_encoding": "Western (Windows 1252)",
152163

164+
// Encoding used when saving new files, and files opened with an undefined
165+
// encoding (e.g., plain ascii files). If a file is opened with a specific
166+
// encoding (either detected or given explicitly), this setting will be
167+
// ignored, and the file will be saved with the encoding it was opened
168+
// with.
169+
"default_encoding": "UTF-8",
170+
153171
// Determines what character(s) are used to terminate each line in new files.
154172
// Valid values are 'system' (whatever the OS uses), 'windows' (CRLF) and
155173
// 'unix' (LF only).
@@ -161,6 +179,31 @@
161179
// enabled.
162180
"tab_completion": true,
163181

182+
// Enable auto complete to be triggered automatically when typing.
183+
"auto_complete": true,
184+
185+
// The maximum file size where auto complete will be automatically triggered.
186+
"auto_complete_size_limit": 4194304,
187+
188+
// The delay, in ms, before the auto complete window is shown after typing
189+
"auto_complete_delay": 50,
190+
191+
// Controls what scopes auto complete will be triggered in
192+
"auto_complete_selector": "source - comment",
193+
194+
// Additional situations to trigger auto complete
195+
"auto_complete_triggers": [ {"selector": "text.html", "characters": "<"} ],
196+
197+
// By default, auto complete will commit the current completion on enter.
198+
// This setting can be used to make it complete on tab instead.
199+
// Completing on tab is generally a superior option, as it removes
200+
// ambiguity between committing the completion and inserting a newline.
201+
"auto_complete_commit_on_tab": false,
202+
203+
// Controls if auto complete is shown when snippet fields are active.
204+
// Only relevant if auto_complete_commit_on_tab is true.
205+
"auto_complete_with_fields": false,
206+
164207
// By default, shift+tab will only unindent if the selection spans
165208
// multiple lines. When pressing shift+tab at other times, it'll insert a
166209
// tab character - this allows tabs to be inserted when tab_completion is
@@ -170,5 +213,7 @@
170213

171214
// If true, the selected text will be copied into the find panel when it's
172215
// shown.
216+
// On OS X, this value is overridden in the platform specific settings, so
217+
// you'll need to place this line in your user settings to override it.
173218
"find_selected_text": true
174219
}

Default/Default (Linux).sublime-keymap

+28-11
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
{ "keys": ["ctrl+shift+n"], "command": "new_window" },
55
{ "keys": ["ctrl+shift+w"], "command": "close_window" },
66
{ "keys": ["ctrl+o"], "command": "prompt_open_file" },
7+
{ "keys": ["ctrl+shift+t"], "command": "reopen_last_file" },
78
{ "keys": ["alt+o"], "command": "switch_file", "args": {"extensions": ["cpp", "cxx", "cc", "c", "hpp", "hxx", "h", "ipp", "inl", "m", "mm"]} },
89
{ "keys": ["ctrl+n"], "command": "new_file" },
910
{ "keys": ["ctrl+s"], "command": "save" },
@@ -30,13 +31,13 @@
3031
{ "keys": ["ctrl+u"], "command": "soft_undo" },
3132
{ "keys": ["ctrl+shift+u"], "command": "soft_redo" },
3233

34+
{ "keys": ["shift+delete"], "command": "cut" },
35+
{ "keys": ["ctrl+insert"], "command": "copy" },
36+
{ "keys": ["shift+insert"], "command": "paste" },
3337
{ "keys": ["ctrl+x"], "command": "cut" },
3438
{ "keys": ["ctrl+c"], "command": "copy" },
3539
{ "keys": ["ctrl+v"], "command": "paste" },
3640
{ "keys": ["ctrl+shift+v"], "command": "paste_and_indent" },
37-
{ "keys": ["shift+delete"], "command": "cut" },
38-
{ "keys": ["ctrl+insert"], "command": "copy" },
39-
{ "keys": ["shift+insert"], "command": "paste" },
4041

4142
{ "keys": ["left"], "command": "move", "args": {"by": "characters", "forward": false} },
4243
{ "keys": ["right"], "command": "move", "args": {"by": "characters", "forward": true} },
@@ -123,6 +124,12 @@
123124
{ "key": "setting.tab_completion", "operator": "equal", "operand": true }
124125
]
125126
},
127+
{ "keys": ["tab"], "command": "replace_completion_with_next_completion", "context":
128+
[
129+
{ "key": "last_command", "operator": "equal", "operand": "insert_best_completion" },
130+
{ "key": "setting.tab_completion", "operator": "equal", "operand": true }
131+
]
132+
},
126133
{ "keys": ["tab"], "command": "reindent", "context":
127134
[
128135
{ "key": "setting.auto_indent", "operator": "equal", "operand": true },
@@ -141,6 +148,12 @@
141148
{ "key": "has_next_field", "operator": "equal", "operand": true }
142149
]
143150
},
151+
{ "keys": ["tab"], "command": "commit_completion", "context":
152+
[
153+
{ "key": "auto_complete_visible" },
154+
{ "key": "setting.auto_complete_commit_on_tab" }
155+
]
156+
},
144157

145158
{ "keys": ["shift+tab"], "command": "insert", "args": {"characters": "\t"} },
146159
{ "keys": ["shift+tab"], "command": "unindent", "context":
@@ -170,12 +183,7 @@
170183
{ "keys": ["insert"], "command": "toggle_overwrite" },
171184

172185
{ "keys": ["ctrl+l"], "command": "expand_selection", "args": {"to": "line"} },
173-
{ "keys": ["ctrl+d"], "command": "expand_selection", "args": {"to": "word"} },
174-
{ "keys": ["ctrl+d"], "command": "find_under_expand", "context":
175-
[
176-
{ "key": "selection_empty", "operator": "equal", "operand": false, "match_all": true }
177-
]
178-
},
186+
{ "keys": ["ctrl+d"], "command": "find_under_expand" },
179187
{ "keys": ["ctrl+shift+space"], "command": "expand_selection", "args": {"to": "scope"} },
180188
{ "keys": ["ctrl+shift+m"], "command": "expand_selection", "args": {"to": "brackets"} },
181189
{ "keys": ["ctrl+m"], "command": "move_to", "args": {"to": "brackets"} },
@@ -189,6 +197,12 @@
189197

190198
{ "keys": ["ctrl+enter"], "command": "run_macro_file", "args": {"file": "Packages/Default/Add Line.sublime-macro"} },
191199
{ "keys": ["ctrl+shift+enter"], "command": "run_macro_file", "args": {"file": "Packages/Default/Add Line Before.sublime-macro"} },
200+
{ "keys": ["enter"], "command": "commit_completion", "context":
201+
[
202+
{ "key": "auto_complete_visible" },
203+
{ "key": "setting.auto_complete_commit_on_tab", "operand": false }
204+
]
205+
},
192206

193207
{ "keys": ["ctrl+p"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true} },
194208
{ "keys": ["ctrl+shift+p"], "command": "show_overlay", "args": {"overlay": "command_palette"} },
@@ -201,6 +215,7 @@
201215
{ "keys": ["ctrl+shift+i"], "command": "show_panel", "args": {"panel": "incremental_find", "reverse":true} },
202216
{ "keys": ["ctrl+f"], "command": "show_panel", "args": {"panel": "find"} },
203217
{ "keys": ["ctrl+h"], "command": "show_panel", "args": {"panel": "replace"} },
218+
{ "keys": ["ctrl+shift+h"], "command": "replace_next" },
204219
{ "keys": ["f3"], "command": "find_next" },
205220
{ "keys": ["shift+f3"], "command": "find_prev" },
206221
{ "keys": ["ctrl+f3"], "command": "find_under" },
@@ -228,20 +243,21 @@
228243
{ "keys": ["ctrl+j"], "command": "join_lines" },
229244
{ "keys": ["ctrl+shift+d"], "command": "duplicate_line" },
230245

231-
{ "keys": ["ctrl+`"], "command": "show_panel", "args": {"panel": "console"} },
246+
{ "keys": ["ctrl+`"], "command": "show_panel", "args": {"panel": "console", "toggle": true} },
232247

233248
{ "keys": ["ctrl+space"], "command": "auto_complete" },
234249
{ "keys": ["ctrl+space"], "command": "replace_completion_with_auto_complete", "context":
235250
[
236251
{ "key": "last_command", "operator": "equal", "operand": "insert_best_completion" },
252+
{ "key": "auto_complete_visible", "operator": "equal", "operand": false },
237253
{ "key": "setting.tab_completion", "operator": "equal", "operand": true }
238254
]
239255
},
240256

241257
{ "keys": ["ctrl+alt+shift+p"], "command": "show_scope_name" },
242258

243-
{ "keys": ["ctrl+b"], "command": "build" },
244259
{ "keys": ["f7"], "command": "build" },
260+
{ "keys": ["ctrl+b"], "command": "build" },
245261
{ "keys": ["ctrl+break"], "command": "exec", "args": {"kill": true} },
246262

247263
{ "keys": ["ctrl+t"], "command": "transpose" },
@@ -501,6 +517,7 @@
501517
{ "keys": ["ctrl+shift+2"], "command": "move_to_group", "args": { "group": 1 } },
502518
{ "keys": ["ctrl+shift+3"], "command": "move_to_group", "args": { "group": 2 } },
503519
{ "keys": ["ctrl+shift+4"], "command": "move_to_group", "args": { "group": 3 } },
520+
{ "keys": ["ctrl+0"], "command": "focus_side_bar" },
504521

505522
{ "keys": ["alt+1"], "command": "select_by_index", "args": { "index": 0 } },
506523
{ "keys": ["alt+2"], "command": "select_by_index", "args": { "index": 1 } },

Default/Default (Linux).sublime-mousemap

+4
Original file line numberDiff line numberDiff line change
@@ -90,5 +90,9 @@
9090
{ "button": "button4", "modifiers": [], "command": "prev_view" },
9191
{ "button": "button5", "modifiers": [], "command": "next_view" },
9292

93+
// Change font size with ctrl+scroll wheel
94+
{ "button": "scroll_down", "modifiers": ["ctrl"], "command": "decrease_font_size" },
95+
{ "button": "scroll_up", "modifiers": ["ctrl"], "command": "increase_font_size" },
96+
9397
{ "button": "button2", "modifiers": [], "press_command": "context_menu" }
9498
]

Default/Default (OSX).sublime-keymap

+36-17
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ and don't need to be repeated here. Anything listed here will take precedence, h
66
{ "keys": ["super+shift+n"], "command": "new_window" },
77
{ "keys": ["super+shift+w"], "command": "close_window" },
88
{ "keys": ["super+o"], "command": "prompt_open_file" },
9+
{ "keys": ["super+shift+t"], "command": "reopen_last_file" },
910
{ "keys": ["super+alt+up"], "command": "switch_file", "args": {"extensions": ["cpp", "cxx", "cc", "c", "hpp", "hxx", "h", "ipp", "inl", "m", "mm"]} },
1011
{ "keys": ["super+n"], "command": "new_file" },
1112
{ "keys": ["super+s"], "command": "save" },
@@ -90,6 +91,12 @@ and don't need to be repeated here. Anything listed here will take precedence, h
9091
{ "key": "setting.tab_completion", "operator": "equal", "operand": true }
9192
]
9293
},
94+
{ "keys": ["tab"], "command": "replace_completion_with_next_completion", "context":
95+
[
96+
{ "key": "last_command", "operator": "equal", "operand": "insert_best_completion" },
97+
{ "key": "setting.tab_completion", "operator": "equal", "operand": true }
98+
]
99+
},
93100
{ "keys": ["tab"], "command": "reindent", "context":
94101
[
95102
{ "key": "setting.auto_indent", "operator": "equal", "operand": true },
@@ -108,6 +115,12 @@ and don't need to be repeated here. Anything listed here will take precedence, h
108115
{ "key": "has_next_field", "operator": "equal", "operand": true }
109116
]
110117
},
118+
{ "keys": ["tab"], "command": "commit_completion", "context":
119+
[
120+
{ "key": "auto_complete_visible" },
121+
{ "key": "setting.auto_complete_commit_on_tab" }
122+
]
123+
},
111124

112125
{ "keys": ["shift+tab"], "command": "insert", "args": {"characters": "\t"} },
113126
{ "keys": ["shift+tab"], "command": "unindent", "context":
@@ -132,12 +145,7 @@ and don't need to be repeated here. Anything listed here will take precedence, h
132145
},
133146

134147
{ "keys": ["super+l"], "command": "expand_selection", "args": {"to": "line"} },
135-
{ "keys": ["super+d"], "command": "expand_selection", "args": {"to": "word"} },
136-
{ "keys": ["super+d"], "command": "find_under_expand", "context":
137-
[
138-
{ "key": "selection_empty", "operator": "equal", "operand": false, "match_all": true }
139-
]
140-
},
148+
{ "keys": ["super+d"], "command": "find_under_expand" },
141149
{ "keys": ["super+shift+space"], "command": "expand_selection", "args": {"to": "scope"} },
142150
{ "keys": ["ctrl+shift+m"], "command": "expand_selection", "args": {"to": "brackets"} },
143151
{ "keys": ["ctrl+m"], "command": "move_to", "args": {"to": "brackets"} },
@@ -151,9 +159,15 @@ and don't need to be repeated here. Anything listed here will take precedence, h
151159

152160
{ "keys": ["super+enter"], "command": "run_macro_file", "args": {"file": "Packages/Default/Add Line.sublime-macro"} },
153161
{ "keys": ["super+shift+enter"], "command": "run_macro_file", "args": {"file": "Packages/Default/Add Line Before.sublime-macro"} },
162+
{ "keys": ["enter"], "command": "commit_completion", "context":
163+
[
164+
{ "key": "auto_complete_visible" },
165+
{ "key": "setting.auto_complete_commit_on_tab", "operand": false }
166+
]
167+
},
154168

155-
{ "keys": ["super+p"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true} },
156169
{ "keys": ["super+t"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true} },
170+
{ "keys": ["super+p"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true} },
157171
{ "keys": ["super+shift+p"], "command": "show_overlay", "args": {"overlay": "command_palette"} },
158172
{ "keys": ["super+ctrl+p"], "command": "prompt_select_project" },
159173
{ "keys": ["super+r"], "command": "show_overlay", "args": {"overlay": "goto", "text": "@"} },
@@ -163,6 +177,7 @@ and don't need to be repeated here. Anything listed here will take precedence, h
163177
{ "keys": ["super+shift+i"], "command": "show_panel", "args": {"panel": "incremental_find", "reverse":true} },
164178
{ "keys": ["super+f"], "command": "show_panel", "args": {"panel": "find"} },
165179
{ "keys": ["super+alt+f"], "command": "show_panel", "args": {"panel": "replace"} },
180+
{ "keys": ["super+alt+e"], "command": "replace_next" },
166181
{ "keys": ["super+g"], "command": "find_next" },
167182
{ "keys": ["super+shift+g"], "command": "find_prev" },
168183
{ "keys": ["super+e"], "command": "slurp_find_string" },
@@ -192,21 +207,22 @@ and don't need to be repeated here. Anything listed here will take precedence, h
192207
{ "keys": ["super+j"], "command": "join_lines" },
193208
{ "keys": ["super+shift+d"], "command": "duplicate_line" },
194209

195-
{ "keys": ["ctrl+backquote"], "command": "show_panel", "args": {"panel": "console"} },
210+
{ "keys": ["ctrl+backquote"], "command": "show_panel", "args": {"panel": "console", "toggle": true} },
196211

197212
{ "keys": ["ctrl+space"], "command": "auto_complete" },
198213
{ "keys": ["ctrl+space"], "command": "replace_completion_with_auto_complete", "context":
199214
[
200215
{ "key": "last_command", "operator": "equal", "operand": "insert_best_completion" },
216+
{ "key": "auto_complete_visible", "operator": "equal", "operand": false },
201217
{ "key": "setting.tab_completion", "operator": "equal", "operand": true }
202218
]
203219
},
204220

205221
{ "keys": ["super+alt+p"], "command": "show_scope_name" },
206222
{ "keys": ["ctrl+shift+p"], "command": "show_scope_name" },
207223

208-
{ "keys": ["super+b"], "command": "build" },
209224
{ "keys": ["f7"], "command": "build" },
225+
{ "keys": ["super+b"], "command": "build" },
210226

211227
{ "keys": ["ctrl+t"], "command": "transpose" },
212228

@@ -465,6 +481,7 @@ and don't need to be repeated here. Anything listed here will take precedence, h
465481
{ "keys": ["ctrl+shift+2"], "command": "move_to_group", "args": { "group": 1 } },
466482
{ "keys": ["ctrl+shift+3"], "command": "move_to_group", "args": { "group": 2 } },
467483
{ "keys": ["ctrl+shift+4"], "command": "move_to_group", "args": { "group": 3 } },
484+
{ "keys": ["ctrl+0"], "command": "focus_side_bar" },
468485

469486
{ "keys": ["super+1"], "command": "select_by_index", "args": { "index": 0 } },
470487
{ "keys": ["super+2"], "command": "select_by_index", "args": { "index": 1 } },
@@ -579,18 +596,20 @@ and don't need to be repeated here. Anything listed here will take precedence, h
579596

580597
{ "keys": ["super+,"], "command": "open_file", "args": {"file": "${packages}/User/Base File.sublime-settings"} },
581598

582-
// These are OS X builtin commands, and don't need to be listed here, but
599+
{ "keys": ["super+k", "super+y"], "command": "yank" },
600+
{ "keys": ["super+k", "super+k"], "command": "run_macro_file", "args": {"file": "Packages/Default/Delete to Hard EOL.sublime-macro"} },
601+
{ "keys": ["super+k", "super+backspace"], "command": "run_macro_file", "args": {"file": "Packages/Default/Delete to Hard BOL.sublime-macro"} },
602+
{ "keys": ["super+k", "super+c"], "command": "show_at_center" },
603+
604+
// These are OS X built in commands, and don't need to be listed here, but
583605
// doing so lets them show up in the menu
584606
{ "keys": ["ctrl+y"], "command": "yank" },
585-
{ "keys": ["ctrl+k"], "command": "run_macro_file", "args": {"file": "Packages/Default/Delete to Hard EOL.sublime-macro"} },
586607
{ "keys": ["super+backspace"], "command": "run_macro_file", "args": {"file": "Packages/Default/Delete to Hard BOL.sublime-macro"} },
608+
// super+delete isn't a built in command, but makes sense anyway
609+
{ "keys": ["super+delete"], "command": "run_macro_file", "args": {"file": "Packages/Default/Delete to Hard EOL.sublime-macro"} },
610+
{ "keys": ["ctrl+k"], "command": "run_macro_file", "args": {"file": "Packages/Default/Delete to Hard EOL.sublime-macro"} },
587611
{ "keys": ["ctrl+l"], "command": "show_at_center" },
588612
{ "keys": ["ctrl+o"], "command": "insert_snippet", "args": { "contents": "$0\n" } },
589613
{ "keys": ["ctrl+super+d"], "command": "noop" },
590-
{ "keys": ["ctrl+super+shift+d"], "command": "noop" },
591-
592-
{ "keys": ["super+k", "super+y"], "command": "yank" },
593-
{ "keys": ["super+k", "super+k"], "command": "run_macro_file", "args": {"file": "Packages/Default/Delete to Hard EOL.sublime-macro"} },
594-
{ "keys": ["super+k", "super+backspace"], "command": "run_macro_file", "args": {"file": "Packages/Default/Delete to Hard BOL.sublime-macro"} },
595-
{ "keys": ["super+k", "super+c"], "command": "show_at_center" }
614+
{ "keys": ["ctrl+super+shift+d"], "command": "noop" }
596615
]

0 commit comments

Comments
 (0)