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:
- Install the GPG key:
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
- Ensure apt is set up to work with https sources:
sudo apt-get install apt-transport-https
- 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
- Update apt sources and install Sublime Text
sudo apt-get update
sudo apt-get install sublime-text
Installing from a tarball
- Download the Sublime Text tarball that also available as a x86-64 or ARM64
- 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
- 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
- Open the command palette
- Win/Linux:
ctrl+shift+p
and Mac:cmd+shift+p
- Win/Linux:
- Type
Install Package Control
, press enter. - 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
List of my favorites extensions:
- Rainbow Brackets at different levels the brackets will be dyed with different colors according to the settings.
- Emmet is a web-developer’s toolkit for boosting HTML & CSS code writing.
- Image Preview to preview images that need conversion the plugin requires Imagemagick and that
magick
command is in your path. - Color Highlighter previews color values by underlaying the selected hex codes in different styles.
- Color Picker to insert or change a selected color on Linux pressing the shortcut
ctrl+shift+c
. - Markdown Editing provides a decent Markdown color scheme (light and dark) with more robust syntax highlighting.
- Markdown preview and build plugin for Sublime Text.
- LaTeXTools a LaTeX plugin.
- Terminal launch terminals from the current file or the root project folder.
- Terminus a real terminal to Sublime Text.
- Placehold.it Image Tag Generator using the features of Placehold.it to insert an image tag with dummy image.
- SVG Preview
- QuickView image and color previews in Sublime Text.
- Gitlab Integrate integrates various Gitlab features.
- Git plugin for some git integration into sublime text.
- AutoFileName plugin that autocompletes filenames.
- BracketHighlighter bracket and tag highlighter for Sublime Text.
- Auto Close HTML Tags plugin that auto closes HTML tags right after '>'.
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!!