Last active
July 27, 2023 14:40
-
-
Save juanfernandes/ba413678c7686f0c96b0 to your computer and use it in GitHub Desktop.
Sublime Text Setup
- Open the command palette
- Win/Linux: ctrl+shift+p, Mac: cmd+shift+p
- Type Install Package Control, press enter
- Emmet
- Gist - https://github.com/condemil/Gist - sudo apt-get install curl
- SideBarEnhancements
- ToDoReview - https://github.com/jonathandelgado/SublimeTodoReview
- HTML Mustache
- SCSS
- Install Theme - Materialize
- Install SetiUI
- Add User Preferences + Keymap Preferences
Save minimap_setting.py in the User directory (in Preferences -> Browse Packages).
Add to your sidebar configuration: Settings > Package Settings > Side Bar > User - Settings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"added_words": | |
[ | |
"specialises", | |
"specialise", | |
"Woodbridge", | |
"skype", | |
"spam", | |
"blog" | |
], | |
"auto_complete": true, | |
"auto_complete_commit_on_tab": true, | |
"auto_indent": true, | |
"binary_file_patterns": | |
[ | |
"*.dds", | |
"*.eot", | |
"*.gif", | |
"*.ico", | |
"*.jar", | |
"*.jpeg", | |
"*.jpg", | |
"*.pdf", | |
"*.png", | |
"*.swf", | |
"*.tga", | |
"*.ttf", | |
"*.zip" | |
], | |
"bold_folder_labels": true, | |
"caret_style": "phase", | |
"color_scheme": "Packages/Materialize/schemes/Material Seti.tmTheme", | |
"copy_with_empty_selection": false, | |
"detect_slow_plugins": false, | |
"dictionary": "Packages/Language - English/en_UK.dic", | |
"drag_text": false, | |
"draw_minimap_border": false, | |
"show_minimap": false, | |
"ensure_newline_at_eof_on_save": true, | |
"fade_fold_buttons": false, | |
"file_exclude_patterns": | |
[ | |
"*.sublime-project", | |
"*.sublime-workspace", | |
".DS_Store" | |
], | |
"folder_exclude_patterns": | |
[ | |
".git", | |
"tmp", | |
"node_modules", | |
".sass-cache", | |
"dist/**", | |
"project-hub/**" | |
], | |
"font_face": "inconsolata-dz", | |
"font_options": | |
[ | |
"subpixel_antialias" | |
], | |
"font_size": 15, | |
"gutter": true, | |
"highlight_line": true, | |
"highlight_modified_tabs": true, | |
"ignored_packages": | |
[ | |
"Vintage" | |
], | |
"indent_guide_options": | |
[ | |
"draw_normal", | |
"draw_active" | |
], | |
"indent_subsequent_lines": true, | |
"line_padding_bottom": 2, | |
"line_padding_top": 2, | |
"match_brackets": true, | |
"match_brackets_angle": true, | |
"match_brackets_braces": true, | |
"match_brackets_content": true, | |
"match_brackets_square": true, | |
"match_selection": true, | |
"match_tags": true, | |
"preview_on_click": true, | |
"rulers": | |
[ | |
72, | |
80 | |
], | |
"save_on_focus_lost": true, | |
"scroll_past_end": true, | |
"scroll_speed": 2, | |
"spell_check": true, | |
"tab_completion": true, | |
"tab_size": 2, | |
"theme": "Material Seti.sublime-theme", | |
"todo": | |
{ | |
"case_sensitive": true, | |
"file_exclude_patterns": | |
[ | |
"*.sql" | |
], | |
"folder_exclude_patterns": | |
[ | |
"node_modules" | |
], | |
"patterns": | |
{ | |
"CHANGED": "CHANGED[\\s]*?:+(?P<changed>\\S.*)$", | |
"FIXME": "FIX ?ME[\\s]*?:+(?P<fixme>\\S.*)$", | |
"NOTE": "NOTE[\\s]*?:+(?P<note>.*)$", | |
"TODO": "TODO[\\s]*?:+(?P<todo>.*)$" | |
} | |
}, | |
"translate_tabs_to_spaces": true, | |
"trim_trailing_white_space_on_save": true, | |
"word_separators": "./\\()\"':,.;<>~!@#%^&*|+=[]{}`~?", | |
"word_wrap": true | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"keys": [ "ctrl+shift+t" ], | |
"command": "todo_review", | |
"args": { "paths": [], "open_files": true } | |
}, | |
// { "keys": ["ctrl+shift+t"], "command": "reopen_last_file" }, | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
[ | |
{ "keys": ["ctrl+alt+p"], "command": "prompt_select_workspace" } | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- encoding: utf-8 -*- | |
import sublime | |
import sublime_plugin | |
class MinimapSetting(sublime_plugin.EventListener): | |
def on_activated(self, view): | |
show_minimap = view.settings().get('show_minimap') | |
if show_minimap: | |
view.window().set_minimap_visible(True) | |
elif show_minimap is not None: | |
view.window().set_minimap_visible(False) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"i_donated_to_sidebar_enhancements_developer": "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=DD4SL2AHYJGBW" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment