1 2 3 4 5 6 7 8 9 |
[ { "button": "button1", "count": 1, "modifiers": ["ctrl"], "press_command": "drag_select", "command": "goto_definition" } ] |
Some Fly Higher
1 2 3 4 5 6 7 8 9 |
[ { "button": "button1", "count": 1, "modifiers": ["ctrl"], "press_command": "drag_select", "command": "goto_definition" } ] |
Here are few settings, which makes your sublime more sublime.
Open your setting file. Located at
preferences → Settings – User
1. Caret style
Change your caret style to phase and it will fade in and out rather than blink.
1 |
"caret_style": "phase" |
Other options – “smooth”, “phase”, “blink”, “wide” and “solid”.
2. Highlight current Line
By default sublime not highlight the current line. Highlighting the current line is a subtle visual cue when jumping back and forth between a browser and code.
This is also super handy when you are dealing with long lines of code/text and you want to quickly know if the current line is wrapped or not.
1 |
"highlight_line": true |
3. Line height
This increases the readability of code so much better.
1 2 |
"line_padding_bottom": 1, "line_padding_top": 1 |
4. Enable Code folding arrows
Code Folding in Sublime Text is great but most of the people don’t use it, Because the arrows aren’t visible until you hover over the gutter.
Make them always visible and get folding!
1 |
"fade_fold_buttons": false |
5. Bold Folder Labels
One of the downsides to Sublime Text is that the sidebar isn’t as strong as other editors.
Bold visual helps out here to make Sublime editor more strong. This helps us to quickly identify what is a folder and what is a file.
1 |
"bold_folder_labels": true |
6. Show Tabs and Whitespacs
By default, Sublime shows whitespace on selected text. Tabs show up as dashes, while spaces are dots.
You can control when Sublime shows white space with the draw_white_space setting.
The default value is selection, but you can override that with all to always show whitespace or none to never show it.
1 |
"draw_white_space": "all" |
If you also want Sublime to automatically replace tab characters with spaces when you open a file, override the translate_tabs_to_spaces setting:
1 2 |
"draw_white_space": "all", "translate_tabs_to_spaces": true |