Web & Software Developer

Sublime Text 3 and SFTP Shortcuts for Linux/Ubuntu Cheat Sheet

These are my favorite Sublime Text 3 shortcuts, as well as Sublime SFTP shortcuts. These work on Ubuntu/Linux.

Selecting

Select the entire current line: Ctrl + L

Select everything inside the current HTML tag: CTRL + SHIFT + A

Select word – Repeat select others occurrences: Ctrl + D

Split selection into lines: Ctrl + Shift + L

Deleting

Delete Line: Ctrl + Shift + K
Delete from cursor to end of line: Ctrl + KK
Delete from cursor to start of line: Ctrl + K + ⌫

Transforming Text

Transform to Uppercase: Ctrl + KU
Transform to Lowercase: Ctrl + KL

Comment/un-comment current line: Ctrl + /
Block comment current selection: Ctrl + Shift + /

Tabs

Open last closed tab: Ctrl + Shift + t
Cycle up through tabs: Ctrl + PgUp
Cycle down through tabs: Ctrl + PgDn

Split window

Split view into two columns: Alt + Shift + 2
Revert view to single column: Alt + Shift + 1
Set view to grid (4 groups): Alt + Shift + 5

Move to panel: Ctrl + Shift + Number

Misc

Set syntax (language) for the file: Ctrl + Shift + P [language]

SUBLIME SFTP SHORTCUTS:

Show SFTP Panel: Ctrl + Alt + U + S

Upload File: Ctrl + Alt + U + F

Upload Open Files: Ctrl + Alt + U + N
(Upload all open files that are configured with an SFTP/FTP remote)

Download File: Ctrl + Alt + U + O
(Download the remote version of the selected file and overwrite the local copy.)

Upload Folder: Ctrl + Alt + U + R
(Uploading the entire folder the current file is located in.)

Download Folder: Ctrl + Alt + U + E
(Download the entire folder.)

Diff Remote File: Ctrl + Alt + U + I
(Download the remote version of a file to a temp location and diff it with the local version.)

Sync Local -> Remote: Ctrl + Alt + U + Y
(Compare file modification times and confirm actions before uploading the selected file or folder. This will also delete files off of the remote server that do not exist locally.)

Sync Remote -> Local: Ctrl + Alt + U + D
(Compare file modification times and confirm actions before downloading the selected file or folder. This will also delete files off of the local machine that do not exist remotely.)

Sync Both Directions: Ctrl + Alt + U + B
(Compare file modification times and confirm actions before uploading/downloading the selected file or folder. This will never delete files, and will always perform the action that causes the newest file to be present in both locations.)

Browse Remote: Ctrl + Alt + U + W

By

Questions and Comments are Welcome

Your email address will not be published. All comments will be moderated.

Please wrap code in "code" bracket tags like this:

[code]

YOUR CODE HERE 

[/code]