sublimetext 相关配置

SublimeText 3207 破解

参考 https://www.xiaomcm.com/249.html

添加 Windows 右键 Sublime Text 打开文件夹

https://gist.github.com/roundand/9367852

1
2
3
4
5
6
7
8
9
10
11
12
13
@echo off
SET st3Path=D:\Program Files\Sublime Text 3\sublime_text.exe

rem add it for all file types
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3" /t REG_SZ /v "" /d "Open with Sublime Text 3" /f
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3" /t REG_EXPAND_SZ /v "Icon" /d "%st3Path%,0" /f
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3\command" /t REG_SZ /v "" /d "%st3Path% \"%%1\"" /f

rem add it for folders
@reg add "HKEY_CLASSES_ROOT\Folder\shell\Open with Sublime Text 3" /t REG_SZ /v "" /d "Open with Sublime Text 3" /f
@reg add "HKEY_CLASSES_ROOT\Folder\shell\Open with Sublime Text 3" /t REG_EXPAND_SZ /v "Icon" /d "%st3Path%,0" /f
@reg add "HKEY_CLASSES_ROOT\Folder\shell\Open with Sublime Text 3\command" /t REG_SZ /v "" /d "%st3Path% \"%%1\"" /f
pause

修改路径 st3Path,保存为 xxx.bat,以管理员身份运行,运行后即可在菜单看到相应选项。打开目录树 先按 ctrl+k 再 ctrl+b

修改菜单栏及侧栏字体大小

https://www.jianshu.com/p/906c48f2da5c

LaTeX-Tools 预览公式失败的问题

参考 https://github.com/SublimeText/LaTeXTools/issues/1148#issuecomment-314762160

新建环境变量 GS_LIB,根据 texlive 安装路径进行修改 path\to\texlive\tlpkg\tlgs\Resource\Init;path\to\texlive\tlpkg\tlgs\kanji,重启 Sublime Text。