almost 2 years ago

To following up on my previous post on the essential settings for Sublime Text 3, I would like to layout a few non-essential but useful settings:

Change cursor style

Set the caret_style property to change cursor style:

"caret_style": "phase", // change cursor's blink style from on -> off to fade in -> fade out

Other caret styles can be used:

  • smooth (this is the default)
  • blink (I cannot tell the difference between this and smooth)
  • wide (the cursor width is wider and it does not blink)
  • solid (the cursor does not blink and stays "solid")
  • phase (fade in / fase out effect, very subtle)
Make cursor wider

If you just want the cursor to be wider but still blinks, use this

"wide_caret": true,
"caret_style": "blink",
Show ruler

To display a vertial ruler:

"rulers": [80, 120] // this will display two vertical rulers at 80 and 120 character count

You can word wrap at specific character count:

"wrap_width": 80 // default is 0

Read more here

Highlight the line where cursor is at
"highlight_line": true
Save all files when tab out to another Window

When you alt+tab to another window, saves all the files opened in Sublime:

"save_on_focus_lost": true,
Turn on spell checker
"spell_check": true, 
Visualize all whitespace characters
"draw_white_space": "all"

Available options are:

  • none
  • all
  • selection
Antialiasing Font for Retina Display

Try this option if you are on a retina display:

"font_options": ["gray_antialias"],
Always show code folding icon

The folding icon is only shown on hover by default, you can change it to always appear:

"fade_fold_buttons": false,
A handy website for generating setting file

← Sublime Text 3 Essential Tweaks Sublime Text 3 Markdown →
comments powered by Disqus