Sublime Text 3 Notes - rharmonson/richtech GitHub Wiki

Sublime Text 3 Notes

Installation

Setup Sublime Repository

sudo rpm -v --import https://download.sublimetext.com/sublimehq-rpm-pub.gpg
sudo dnf config-manager --add-repo https://download.sublimetext.com/rpm/stable/x86_64/sublime-text.repo
  1. Install dnf install sublime-text sublime-merge
  2. Install dnf install python3-flake8 which also results with python3-pccodestyle and other packages
  3. Install dnf install ansible python3-ansible-lint
  4. Install dnf install adobe-source-pro-fonts or see note below
  5. Help --> Add License
  6. Tools --> Command Palette or ctrl+shft+p, type install, then select Install Package Control
  7. ctrl+shft+p --> Package Control: Install Package --> enter search string to location package
  • Anaconda
  • SublimeLinter (and restart Sublime Text before next)
  • SublimeLinter-flake8
  • SublimeLinter-contrib-ansible-lint
  • SublimeGit
  • GitGutter
  • BracketHighlighter
  • SideBarEnhancements
  • Skins
  • Theme - Agila

Manual install of Source Code Prod

  1. Go to Google Fonts; https://www.google.com/fonts
  2. Type source code in the search box and match Source Code Pro by Paul D. Hunt
  3. Select the "Source Code Pro" tile to add collection
  4. Select "+ Select this style" for each font style
  5. On the right, scroll down and select "Download family"
  6. sudo mkdir -p /usr/share/fonts/truetype/source-code-pro
  7. sudo unzip Source_Code_Pro.zip -d /usr/share/fonts/truetype/source-code-pro
  8. sudo fc-cache -f -v

Alternatively, install ~/.fonts/source-code-pro or /usr/local/share/fonts/source-code-pro.

View --> Side Bar --> Show Side Bar View --> Layout --> Single

User Preferences.sublime-settings

{
	"auto_complete_commit_on_tab": true,
	"bold_folder_labels": true,
	"caret_extra_bottom": 2,
	"caret_extra_top": 2,
	"caret_extra_width": 3,
	"caret_style": "phase",
	"color_scheme": "Packages/Agila Theme/Agila Oceanic Next.tmTheme",
	"fade_fold_buttons": false,
	"font_face": "Source Code Pro",
	"font_options":
	[
		"no_round"
	],
	"font_size": 15,
	"highlight_line": true,
	"highlight_modified_tabs": true,
	"ignored_packages":
	[
		"Vintage"
	],
	"indent_guide_options":
	[
		"draw_normal",
		"draw_active"
	],
	"installed_packages":
	[
		"Anaconda",
		"SublimeLinter",
		"SublimeLinter-flake8",
		"SublimeLinter-contrib-ansible-lint",
		"BracketHighlighter",
		"SublimeGit",
		"GitGutter",
		"SideBarEnhancements",
		"Skins"
	],
	"line_padding_bottom": 1,
	"line_padding_top": 1,
	"match_brackets_content": false,
	"match_selection": false,
	"match_tags": false,
	"rulers":
	[
		80
	],
	"scroll_past_end": true,
	"show_encoding": false,
	"sidebar_default": true,
	"sidebar_font_big": true,
	"sidebar_font_small": false,
	"sidebar_large": true,
	"sidebar_medium": false,
	"sidebar_xlarge": false,
	"skin": "Agila Theme/Agila - Default",
	"theme": "Agila.sublime-theme",
	"translate_tabs_to_spaces": true,
	"trim_trailing_white_space_on_save": true,
	"wide_caret": true,
	"word_wrap": false
}

Shortcuts

  • ctrl+shft+b = build current file
  • ctrl+shft+n = new document
  • ctrl+shft+p = command palette
⚠️ **GitHub.com Fallback** ⚠️