https://github.com/hackjutsu/Lepton
配置文件位置:
windows : %HOMEPATH%/.leptonrc
linux/mac : ~/.leptonrc
在 v1.9.0 版本之后 , .leptonrc 文件路径可以在 "关于" 找到,快捷键 Command/Ctrl +
配置项文档: https://github.com/hackjutsu/Lepton/wiki/Configuration
FIELD | SUB-FIELD | OPTIONS (first option is default) | DESCRIPTION |
---|---|---|---|
theme | light | dark | 主题 | |
autoUpdate | false | true | 自动下载更新 (excludes macOS) | |
snippet | expanded | true | false | 代码片段展开 |
newSnippetPrivate | false | true | 新代码片段设置为私有 | |
sorting | updated_at | created_at | description | 片段排序方式 | |
sortingReverse | true | false | 倒序排列 | |
editor | tabSize | number | 1tab等于几个空格 |
validateFilename | true | false | 检查文件名是否安全 | |
userPanel | hideProfilePhoto | false | true | 隐藏个人资料照片 |
logger | level | info | debug | 日志等级 |
proxy | enable | false | true | 是否启用代理 |
address | proxy address | 代理地址 | |
notifications | success | true | false | 成功时显示通知 |
failure | true | false | 失败时显示通知 | |
shortcuts | keyShortcutForSearch | Shift+Space | other shortcuts | 搜索快捷键 |
keyNewGist | Command/Control+N | other shortcuts | 新gist快捷键 | |
keyEditGist | Command/Control+E | other shortcuts | 编辑gist快捷键 | |
keySubmitGist | Command/Control+S | other shortcuts | 提交(保存)快捷键 | |
keyEditorExit | Command/Control+Escape | other shortcuts | shortcut for existing editor | |
keyImmersiveMode | Command/Control+I | other shortcuts | 沉浸模式快捷键 | |
keyAboutPage | Command/Control+, | other shortcuts | “关于”快捷键 | |
keyDashboard | Command/Control+D | other shortcuts | 仪表盘快捷键 | |
keySyncGists | Command/Control+R | other shortcuts | 同步快捷键 | |
enterprise | enable | false | true | 启用企业版GitHub |
host | host address | 企业版GitHub地址 | |
token | token | token with "gist" scope enabled | |
avatarUrl | URL to an avatar image | (optional) URL for an avatar |