Sublime Text Turbo Mode

Sublime Text Turbo Mode

Follow the steps to install Sublime Text plugins and themes.

How to install Sublime Text in Ubuntu

The easy way is follow the steps in Sublime Text / Linux Repositories and choose the stable version. Check the steps below:

  1. Install the GPG key:

wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -

  1. Ensure apt is set up to work with https sources:

sudo apt-get install apt-transport-https

  1. Select the channel to use:

Stable Version echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list

Dev Version echo "deb https://download.sublimetext.com/ apt/dev/" | sudo tee /etc/apt/sources.list.d/sublime-text.list

  1. Update apt sources and install Sublime Text

sudo apt-get update sudo apt-get install sublime-text

Installing from a tarball

  1. Download the Sublime Text tarball that also available as a x86-64 or ARM64
  2. The Sublime Text executable should be symlinked to subl, with a command such as:
sudo ln -s /opt/sublime_text/sublime_text /usr/local/bin/subl
  1. Check if the path environment variable values should contain /usr/local/bin

Working with terminal commands

  • Check Sublime Text version: subl --version.
  • Check if is possible run Sublime Text from terminal using the command subl.
  • Check the help using the command subl --help:
Sublime Text build 4113

Usage: subl [arguments] [files]         Edit the given files
   or: subl [arguments] [directories]   Open the given directories
   or: subl [arguments] -- [files]      Edit files that may start with '-'
   or: subl [arguments] -               Edit stdin
   or: subl [arguments] - >out          Edit stdin and write the edit to stdout

Arguments:
  --project <project>:    Load the given project
  --command <command>:    Run the given command
  -n or --new-window:     Open a new window
  --launch-or-new-window: Only open a new window if the application is open
  -a or --add:            Add folders to the current window
  -w or --wait:           Wait for the files to be closed before returning
  -b or --background:     Don't activate the application
  --safe-mode:            Launch using a sandboxed (clean) environment
  -h or --help:           Show help (this message) and exit
  -v or --version:        Show version and exit

Filenames may be given a :line or :line:column suffix to open at a specific
location.

My favorite extensions and themes

The Sublime Text has a Package Control with all extensions and themes to be installed though Command Palette or menu:

Command Palette

  1. Open the command palette
    • Win/Linux: ctrl+shift+p and Mac: cmd+shift+p
  2. Type Install Package Control, press enter.
  3. Type the extension or theme name. Please, check the Package Control documentation to know more about it.

Script to install Sublime Text Stable

A Bash script to install it from terminal, just run it as bash sublime.sh.

#!/bin/bash
echo "Installing Sublime Text [Stable]. Press ENTER to start or CTRL+C to cancel:"

wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
sudo apt-get install apt-transport-https

echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list

echo "Updating..."
sudo apt-get update

echo "Installing Sublime Text..."
sudo apt-get install -y sublime-text

sublime

List of my favorites extensions:

Themes and Icons

  • FileIcons adds specific, colored icons for most file types for the sidebar.
  • A File Icon specific Icons for Improved Visual Grepping.
  • Theme Spacegray a hyperminimal UI Theme for Sublime Text.
  • Ayu modern Sublime Text theme.
  • Enki Theme a color scheme and UI theme for Sublime Text with clear, disparate colors to help differentiate between all syntactic aspects of code, including syntax highlighting for the console.
  • Brogrammer is a flat sexy theme. Pushups not included.

References:

Command Palette, Package Control, Sublime Text tarball, Sublime Text and Sublime Text / Linux Repositories.

Please, share comment, subscribe and give me a thumbs up!!