SublimeText3
Install
bookmark
- Sublime Text3 official website
- Sublime Text3 installation and initial configuration
- Sublime Text 3 installs Package Control (pro-test available)
- 20 Powerful SublimeText Plugins
- Is it Sublime Text3 or Notepad++
- Absolute artifact SublimeText3
Equality code for all beings
Michael Barnes
Single User License
EA7E-821385
8A353C41 872A0D5C DF9B2950 AFF6F667
C458EA6D 8EA3C286 98D1D650 131A97AB
AA919AEC EF20E143 B361B1E7 4C8B7F04
B085E65E 2F5F5360 8489D422 FB8FC1AA
93F6323C FD7F7544 3F39C318 D95E6480
FCCC7561 8A4A1741 68FA4223 ADCEDE07
200C25BE DBBC4855 C4CFB774 C5EC138C
0FEC1CEF D9DCECEC D3A5DAD1 01316C36
package management
PackageControl component
-
Press
Ctrl+
to bring up the console -
Paste the following code into the command line at the bottom and press Enter:
import urllib.request,os; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); open(os.path.join(ipp, pf), 'wb').write(urllib.request.urlopen( 'http://sublime.wbond.net/' + pf.replace(' ','%20')).read())
-
Restart the software, if you see the package control item in Perferences->package settings, the installation is successful.
-
Next, you can use Package Control to install the plug-in: press
Ctrl+Shift+P
to call the control panel, enter install to call up the Install Package option, and press Enter. Then enter the plug-in to be installed in the search box, select it from the list and install it.
Commonly used plug-ins
- ConvertToUTF8 supports GBK, BIG5, EUC-KR, EUC-JP, Shift_JIS and other encoding plug-ins
- SublimeCodeIntel
- Alignment
- SublimeLinter
- SideBarEnhancements This plugin improves the sidebar and adds many features
- SublimeREPL
Commonly used shortcut keys and modifications
Ctrl+shift+p
Open the command paletteesc
exit a stateCtrl+p
Open the file according to the file name, you can fuzzy matchCtrl+r
Find and set the function name under the current fileCtrl+g
Enter a number in the input box and locate the line numberCtrl+p
Add the # mark to the input box to find the markCtrl+d
Simultaneous editing in multiple places- To modify multiple identical codes, select one of them first, and then
Ctrl+d
select the same code downwards and then edit them together. - Move the mouse to a certain place, press and hold the shift key, and at the same time press the right mouse button and pull down to select several letters in multiple lines continuously
- To modify multiple identical codes, select one of them first, and then
Ctrl+f
Enter the code to be searched, press enter to find the next one, and shift+enter to find the previous one.Ctrl+h
find replaceCtrl+shift+f
Search all projects, search in all files under the current folderCtrl+w
close current fileCtrl+shift+w
close all filesCtrl+k+b
open/hide sideCtrl+x
delete current lineCtrl+shift+enter/Ctrl+enter
Insert a blank line before/after the current lineCtrl+m
Jump to corresponding matching parenthesesCtrl+n
new windowCtrl+/、Ctrl+shift+/
Last line comments and block commentsCtrl+alt+up/Ctrl+alt+down
Swap two lines up or down, the shortcut key may be occupied by the Intel core graphics card of the PC system. Solution- Right-click function ->
show unsaved changes
display unsaved changes, the red minus sign indicates the deleted content, and the green plus sign indicates the newly added content.Open Containing Folder…
Open the folder containing this file, which is handy for finding related files.Copy File Path
Copy the file path, so that we can copy the path to view in the browser.
F11/Shift+F11
Full screen/full screen do not disturb mode, only edit the current file- Alt+Shift+Number
Alt+Shift+1
Window split screen, restore the default 1 screen (numbers other than the keypad)Alt+Shift+2
Split screen left and right - 2 columnsAlt+Shift+3
Left and right split screen - 3 columnsAlt+Shift+4
Left and right split screen - 4 columnsAlt+Shift+5
4 equal screensAlt+Shift+8
Vertical split screen - 2 screensAlt+Shift+9
Vertical split screen - 3 screens
- Batch select operation
shift+↑
Select multiple rows up.shift+↓
Select multiple rows down.Shift+←
Select text to the left.Shift+→
Select text to the right.
- indentation operation
Tab
Indent right.Shift+Tab
Indent left.
- Rollback operation
Ctrl+Z
undo.Ctrl+Y
Revert Undo.Ctrl+U
soft undo,
Ctrl+T
The left and right letters are swapped.Ctrl+Tab
Switch the tabs of the current window according to the order in which the files have been browsed.
configuration item
Generally, it is modified in the user to prevent the upgrade default from being overwritten
-
system settings
{ "color_scheme" : "Packages/Color Scheme - Default/Monokai.tmTheme", // theme "draw_minimap_border" : true, // 右侧缩略图边框 "font_face" : "YaHei Consolas Hybrid", // 字体设置 "font_size" : 13, // 字体大小 "highlight_line" : true, // 当前行标亮 "ignored_packages" : ["Toggle Css Format"], // 开启vim模式 "save_on_focus_lost" : true, // 失去焦点后保存 "auto_complete" : false, // 失去焦点后保存 "word_wrap" : false, // 强制不换行 "word_separators" : "./\\()\"':,.;<>~!@#$%^&*|+=[]{}`~?", // 双击选中中划线 "update_check" : false // 关闭自动更新 }
-
shortcut key settings