Sublime Some common functions and shortcut keys

Source: Internet
Author: User
Tags svn
Ctrl+d (press shortcut key repeatedly to go down and select the next same text to edit simultaneously)
Ctrl+g jumps to the appropriate line
Ctrl+j merge rows (multiple rows that need to be merged are selected)
Ctrl+l Select entire line (Hold-continue select the downward)
Ctrl+m the cursor to the beginning or end of the parentheses.
Ctrl+t Word Interchange
Ctrl+u Soft Undo
Ctrl+p find files and quick searches in the current project, enter the main title/function of the @ lookup file, or enter: Jump to a file line;
Ctrl+r quickly list/jump to a function
Ctrl+k Backspace removed from the cursor to the beginning of the line
Ctrl+k+b Open/Close Sidebar
Ctrl+kk from the cursor to the end of the line
Ctrl+k+t Collapse Properties
Ctrl+k+u to uppercase
Ctrl+k+l Change to lowercase
Ctrl+k+0 expands all
Ctrl+enter after inserting a row (quick wrap)
Ctrl+tab tab in the current window toggle


Ctrl+shift+a Select cursor position parent tag to child
Ctrl+shift+d the entire row of the copy cursor, inserted before the row
Ctrl+shift+f in folders, unlike normal editors, Sublime allows you to add multiple folders to find
Ctrl+shift+k Delete whole line
Ctrl+shift+l the mouse to select multiple rows (press the shortcut key) to edit the rows at the same time
Ctrl+shift+m Select the contents of parentheses (press-and-continue to select the parent bracket)
CTRL+SHIFT+P Open Command Panel
ctrl+shift+/Comments Selected Content
Ctrl+shift+↑ can move this line of code, with the upside swap
Ctrl+shift+↓ can move this line of code, with the downlink interchange
Ctrl+shift+[Folding Code
ctrl+shift+] Expand Code
Ctrl+shift+enter cursor Insertion


Ctrl+pagedown, ctrl+pageup files are switched on and off in the open order


Ctrl+z Revocation
Ctrl+y Recovery undo
Ctrl+f2 Set/Cancel Bookmark
ctrl+/annotation entire line (such as selected content, same as "ctrl+shift+/" effect)
CTRL + left mouse button to select multiple text to edit at the same time


shift+ the right mouse button (or using the middle mouse button) to use the mouse for vertical multiline selection
Shift+f2 Previous Bookmark
Shift+tab to remove indentation
Alt+shift+1 (non-keypad) window split screen, restore default 1 screen
Alt+shift+2 left and right split screen-2 columns
Alt+shift+3 left and right split screen-3 columns
Alt+shift+4 left and right split screen-4 columns
Alt+shift+5 4 Screen
Alt+shift+8 Vertical Split Screen-2 screen
Alt+shift+9 Vertical Split Screen-3 screen


ctrl+shift+ the current focus page to the split number page by the split-screen ordinal


ALT +. Close Current label
ALT+F3 Select Text to press the shortcut key, you can select all the same text to edit simultaneously


Tab Indent Auto Complete
F2 Next Bookmark
F6 Detection Syntax error
F9 row sort (by A-Z)

F11 Full-screen Mode


Subline SFTP configuration; svn didn't use it.

{
The TAB key would cycle through the settings when the
Visit http://wbond.net/sublime_packages/sftp/settings for help

SFTP, FTP or FTPS
"Type": "Sftp",


"Save_before_upload": true,
"Upload_on_save": true,
"Sync_down_on_open": false,
"Sync_skip_deletes": false,
"Sync_same_age": true,
"Confirm_downloads": false,
"Confirm_sync": true,
"Confirm_overwrite_newer": false,

"Host": "192.168.8.153",
"User": "Root",
"Password": "xxxxxx",
"Port": "22",

"Remote_path": "/data/www-data/xxx.xxx/xxx",
"Ignore_regexes": [
"\\.sublime-(Project|workspace)", "Sftp-config (-alt\\d?)". \\.json ",
"Sftp-settings\\.json", "/venv/", "\\.svn/", "\\.hg/", "\\.git/",
"\\.bzr", "_darcs", "CVS", "\ \". Ds_store "," thumbs\\.db "," Desktop\\.ini ","/data/www-data/xx.xx/xx/doc/"
],
"File_permissions": "664",
"Dir_permissions": "775",

"Extra_list_connections": 0,


"Connect_timeout": 30,
"KeepAlive": 120,
"Ftp_passive_mode": true,
"Ftp_obey_passive_host": false,
"Ssh_key_file": "~/.ssh/id_rsa",
"Sftp_flags": ["F", "/path/to/ssh_config"],

"Preserve_modification_times": false,
"Remote_time_offset_in_hours": 0,
"Remote_encoding": "Utf-8",
"Remote_locale": "C",
"Allow_config_upload": false,
}

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.