INSTALLATION
Use one of the following methods to install Package Control:
Command Palette
- Open the command palette
Win/Linux: ctrl+shift+p, Mac: cmd+shift+p - Type Install Package Control, press enter
Menu
- Open the Tools menu
- Select Install Package Control…
This will download the latest version of Package Control and verify it using public key cryptography. If an error occurs, use the manual method instead.
Manual
If the command palette/menu method is not possible due to a proxy on your network or using an old version of Sublime Text, the following steps will also install Package Control:
- Click the Preferences > Browse Packages… menu
- Browse up a folder and then into the Installed Packages/ folder
- Download Package Control.sublime-package and copy it into the Installed Packages/ directory
- Restart Sublime Text
网络问题
Preferences > Package Settings > Package Control > Settings - User
{
"bootstrapped": true,
"channels":
[
"https://erhan.in/channel_v3.json"
],
"in_process_packages":
[
],
"installed_packages":
[
"ChineseLocalizations",
"Package Control"
]
}
打开Preferences->package control 输入install package依次输入ConvertToUTF8和Codecs33进行下载左下角会有一个等号左右动,成功后重启就可解决。
Sublime Text3 最常用快捷键
软件快捷键再多,平时常用的也就那么几个,先总结如下:
全选:Ctrl+A
复制:Ctrl+C
粘贴:Ctrl+V
删除:Ctrl+X
快速复制到下一行:Ctrl+Shift+D
快速向上移动代码:Ctrl+Shift+↑
快速向下移动代码:Ctrl+Shift+↓
向左单位性的选中文本:Ctrl+Shift+←
向右单位性的选中文本:Ctrl+Shift+→
向左一个一个选中文本:Shift+←
向右一个一个选中文本:Shift+→
向上选中多行:shift+↑
向下选中多行:shift+↓
注释单行:Ctrl+/
注释多行(不必全选):Ctrl+Shift+/
撤销:Ctrl+Z
重做:Ctrl+Y
跳到指定行:Ctrl+G
查找内容:Ctrl+F
查找并替换:Ctrl+H