- Install Package Control
- Run
git clone https://github.com/monkape/sublime-text-config {DATA DIRECTORY}/Packages/User
- Open Sublime Text
- Run
git reset --hard
(in case Package Control fails to restore theme/scheme)
Setting | Description |
---|---|
_auto_convert_indentation |
Reflect user's indentation settings in open files automatically. See convert_indentation |
_trim_file_on_save |
Remove leading and trailing whitespace from a file when saving it. See trim_file |
_auto_close_find_panel |
Close find panel once it loses focus. |
_highlight_find_selection |
Highlight find selection while panel is open. |
Command | Args | Description |
---|---|---|
convert_indentation |
Convert indentation to reflect the user's settings. See _auto_convert_indentation |
|
trim_file |
Remove leading and trailing whitespace from a file. See _trim_file_on_save |
|
toggle_fold_by_level |
level : int |
Fold/unfold regions of given indentation level. If folded regions exist they are unfolded, else code is folded. |
unfold_by_level |
level : int |
Unfold regions of given indentation level. |
toggle_case |
Swap case of characters in selection based on first non-whitespace character. Work on word if selection is empty. | |
toggle_line_numbers |
Toggle line_numbers setting at window level based on active view. |
|
next_view_in_group |
Select the next neighbouring file within group. | |
prev_view_in_group |
Select the previous neighbouring file within group. | |
unselect_lines |
forward : bool |
Remove first or last selection based on forward . |
expand_selection_to_paragraph_sub |
Subtract paragraph enclosing the mouse position from selection. | |
set_find_string |
string : str |
Set string as "find" input field of find panels. |
set_replace_string |
string : str |
Set string as "replace" input field of find panels. |
toggle_regex_ext |
Run toggle_regex regardless of find panels being open, and make it trigger command listeners. |
|
toggle_case_sensitive_ext |
Run toggle_case_sensitive regardless of find panels being open, and make it trigger command listeners. |
|
toggle_whole_word_ext |
Run toggle_whole_word regardless of find panels being open, and make it trigger command listeners. |
|
find |
forward : bool expand : bool under : bool additive : bool skip : bool all : bool open_panel : bool panel : string close_panel : bool |
Wrapper around find_next , find_prev and find_all commands that makes them always respect whole word and case sensitive settings, regardless of initial selection or panel having focus or not. Also supports find_under_expand_prev and find_under_expand_skip_prev "missing" commands. |
replace |
forward : bool expand : bool under : bool all : bool open_panel : bool panel : string close_panel : bool |
Wrapper around replace_next and replace_all commands that makes them always respect whole word and case sensitive settings, regardless of initial selection or panel having focus or not. Also supports replace_prev "missing" command. |
split_selection |
empty : bool |
Run split_selection_into_lines or split_selection_into_chars if nothing changed. Optionally ignore empty lines. |
split_selection_into_chars |
Split selections into characters. | |
join_whitespace |
Join multi-line selections into a single line; join consecutive whitespace of single-line selections into a single space, or remove all whitespace if none are consecutive. | |
wrap_block_ext |
begin : str end : str |
Wrap and reindent the block of code that follows with begin and end characters, stopping at the first newline. |
toggle_terminus_view |
terminus_open |
Focus last used non-terminus view if terminus is active, else focus last used terminus view or create a new one. |
Command | Args | Description |
---|---|---|
show_panel |
panel : str reverse : bool toggle : bool |
Close active panel regardless of focus when toggle is on. |
single_selection |
reverse : bool |
Add reverse parameter to control whether first or last selection will remain. |
move_to_group |
group : int |
Move sheet to group and focus it, even when last in group. |
close_others_by_index |
group : int index : int |
Run on active view if called without parameters. Needed for binding to a key. |
close_to_right_by_index |
group : int index : int |
Run on active view if called without parameters. Needed for binding to a key. |