Post

Sublime Text

Settings and keybindings that I change with a new install of Sublime Text, along with some additional tips & tricks to enhance the daily use of it.

Sublime Text

Below are the settings I use that give me the best look and feel of Sublime Text.

Custom settings

ctrl+shift+p -> Settings -> paste in the json below:

1
2
3
4
5
6
7
8
9
{
	"font_size": 16,
	"font_face": "Jetbrains Mono",
	"save_on_focus_lost": true,
	"caret_style": "phase",
	"line_padding_bottom": 3,
	"line_padding_top": 3,
	"color_scheme": "Catppuccin Mocha.sublime-color-scheme",
}

Custom keybindings

ctrl+shift+p -> Keybindings -> paste in the json below:

1
2
3
4
[
		{ "keys": ["ctrl+m"], "command": "toggle_comment", "args": { "block": false } },
]

Install Catppuccin theme for Sublime Text

Install the package from Github.

  1. ctrl+shift+p
  2. Browse Packages
  3. Enter powershell in the adress bar and copy in the line below:
    1
    
    git clone https://github.com/catppuccin/sublime-text.git Catppuccin
    

Fold Python

Package that lets you fold Python code for better visibility and management.

  1. ctrl+shift+p
  2. Package Control: Install Package
  3. Install Fold Python

Tips and trick

Select multiple lines at once.

  1. Select the lines you want to edit at once
  2. ctrl+shift+l

Move the selected line:

ctrl+shift+up arrow (or down arrow)

Select text within the following (), {} or [].

ctrl+m

This post is licensed under CC BY 4.0 by the author.