Skip to content

Instantly share code, notes, and snippets.

@Kartones
Last active January 18, 2021 17:43
Show Gist options
  • Star 8 You must be signed in to star a gist
  • Fork 5 You must be signed in to fork a gist
  • Save Kartones/8974284 to your computer and use it in GitHub Desktop.
Save Kartones/8974284 to your computer and use it in GitHub Desktop.
Sublime Text 3 Cheatsheet

Keyboard shorcuts

  • CTRL + SHIFT + p: Command panel
  • CTRL + p: File search
  • CTRL + r: Method search inside current file
  • CTRL + g: Go to line #
  • CTRL + SHIFT + [: Fold code
  • CTRL + SHIFT + ]: Unfold code
  • ALT + SHIFT + 2: Double column/file mode
  • ALT + SHIFT + 1: Single column/file mode
  • CTRL + k + b: Toggle Folders sidebar

Useful config params

  • "draw_white_space": "all" : Draw indentation spaces and tabs
  • "rulers": [120] : Draw vertical ruler at 120 characters
  • "tab_size": 2 + "translate_tabs_to_spaces": true + "detect_indentation": false
  • "font_size": 9.5: Font size allows decimals for fine tunning
  • "file_exclude_patterns": [ "*.log" ]: Excludes certain file extensions by default from searches & folder view
  • "folder_exclude_patterns": [ "__pycache__" ],: Excludes folders from searches & folder view
  • "animation_enabled": false + "tree_animation_enabled": false: Disable some small animations
  • "trim_trailing_white_space_on_save": true: Self-explaining
  • "font_options": ["no_italic"]: Remove italics
  • "enable_telemetry": "disabled": Privacy control
  • "default_line_ending": "unix": Change line endings (system, windows (CRLF), unix (LF))

Useful custom keybindings

  • { "keys": ["ctrl+shift+r"], "command": "reveal_in_side_bar" }

Packages and tools

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment