In this articles we overview quite a nice text editor such as sublime text 3. I’ve been using it for a three years actively and lastly switched to Atom. I can say Atom isn’t sublime. It opens more slowly files and if you use Atom you have to use a few editors, at least two one for opening single files.
I returned back to sublime and now here is my set of adjustments
- Settings file
- List of plugins that I use
- Snippets
Useful links:
- how to add sublime to the dash and set up as a default app link
#Settings file
The settings placed in menu: Preferences -> settings
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
{ "color_scheme": "Packages/Colorsublime - Themes/Cobalt.tmTheme", "enable_tab_scrolling": false, "font_size": 19, "highlight_line": true, "ignored_packages": [ "Vintage" ], "show_definitions": false, "tab_size": 2, "theme": "Default.sublime-theme", "translate_tabs_to_spaces": true, "update_check": false, "word_wrap": "true" } |
#List of plugins that I use
- BracketHighlighter – used for highlight tags <div></div> link
- AdvancedNewFile – create a new file (super + alt + n) link
- FileIcons – icons for files
- A File icon – link
- AutoFileName – a plugin that autocompletes filename link
- Color Highlight –
- Emmet – a plugin for working with CSS
- WordPress – a plugin for working with wordpress
- JavaScript Completions
- jQuery
- Handlebars
- Nodejs
- javaScript & NodeJS Snippets – this add ‘cl’
- Colorsublime – the package add all the color scheme to the sublime link
- Gist – a plugin for creating new gists link
- babel – a plugin for highlight JSX extensions link
- Terminal – link
- View In Browser – allow by ctr+alt+v open tabs in a browser link
- Markdown Preview – to edit markdown link and link on the documentation link
- Live Reload – link
- Pane Resizer – increase alt + = decrease alt + – link
- Open Url – ctr+alt+u or right click on the link link
- Chrome Snippets – type ch_ and select from the list needed snippet link
Google Chrome JavaScript API auto-complete for sublime text – link
Interesting color schemes
- Oceanic Next link
- Cobalt link
#Snippets
The snippets placed in this folder ~/.config/sublime-tet-3/Packages/User/. I have quite a plenty of snippets but here will be a few:
pre – this is one of the more popular doing such a code
1 2 3 4 5 6 7 8 9 10 11 |
<snippet> <content><![CDATA[ echo "<pre>"; print_r(${1:some_text}); echo "<pre>"; ]]></content> <!-- Optional: Set a tabTrigger to define how to trigger the snippet --> <tabTrigger>pre</tabTrigger> <!-- Optional: Set a scope to limit where the snippet will trigger --> <!-- <scope>source.python</scope> --> </snippet> |