当前位置:网站首页>Sublime Text 3 2021.8.3 个人配置
Sublime Text 3 2021.8.3 个人配置
2022-08-04 05:24:00 【黎明前的霓虹】
前言
早在2019年我就选择了 Sublime Text 作为我的 IDE,用了一阵还挺好用!但是随后因为开学也就没那么多时间来编程了。
暑假来临(都过了一半啦!),我便有了时间来编程了。从最开始折磨半天的 C++,到后来方便一点的 Python 配置,现在在用 ST 来写 Markdown 了!但是家里有两台电脑,有时候房间被占着,就只能离开房间用另外一台破破的 12 年前的笔记本电脑来编程。这也就意味着一个问题:两台电脑都要装 Sublime Text,可是配置、快捷键以及安装的插件都没有办法统一啊!可是我们有万能的 Bing,我找到了答案。其实就是找到 appdata 目录下的 Roming 目录,打开 Sublime Text\Packages\,下面的 User 文件夹就是你的配置文件夹了。
所以建议一修改里面的配置,就同步一次文件夹。为了防止数据丢失,我还得写一份在网络上,这样就不用担心文件夹不翼而飞或者损坏了。
C++.sublime-bulid.sublime-build
{
"encoding": "utf-8",
"working_dir": "$file_path",
"shell_cmd": "g++ -Wall -std=c++11 \"$file_name\" -o \"$file_base_name\"",
"file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$",
"selector": "source.c++",
"variants":
[
{
"name": "RunCmd",
"shell_cmd": "g++ -Wall -std=c++11 \"$file\" -o \"$file_base_name\" && start cmd /c \"\"${file_path}/${file_base_name}\" & pause\""
}
]
}
Default (Windows).sublime-keymap
[
{
"keys": ["f5"],
"caption": "SublimeREPL: Python - RUN current file",
"command": "run_existing_window_command",
"args":
{
"id": "repl_python_run",
"file": "config/Python/Main.sublime-menu"
}
},
{
"keys": ["alt+m"],
"command": "markdown_preview",
"args":
{
"target": "browser"
}
}
]
Localization.sublime-settings
{
"version": "1.11.6"
}
MarkdownPreview.sublime-settings
首先打开的是 Default Setting(就是 首选项 > Package Settings > Markdown Preview > Settings 下弹出的设置窗口的左边),查看左侧 enable_autoreload 条目是否为 true,若是,跳过。若不是,右侧栏加一条下面这个后重启 Sublime:
"enable_autoreload": true
oscrypto-ca-bundle.crt
这个不知道有什么用,但是应该有用吧。
哎呀刚才复制了一下,发现有几千行。为了正常翻阅,还是不放上来了吧。
见阿里云盘
Package Control.last-run
1627892882
Package Control.merged-ca-bundle
这个也好多……干什么用的
见阿里云盘
Package Control.sublime-settings
{
"bootstrapped": true,
"channels":
[
"https://erhan.in/channel_v3.json"
],
"in_process_packages":
[
],
"installed_packages":
[
"Anaconda",
"ChineseLocalizations",
"ConvertToUTF8",
"LiveReload",
"MarkdownPreview",
"Package Control",
"Predawn",
"SublimeREPL",
"Theme - Soda"
]
}
Preferences.sublime-settings
{
"color_scheme": "Packages/Predawn/predawn.tmTheme",
"font_size": 14,
"ignored_packages":
[
"Vintage"
],
"save_on_focus_lost": true,
"theme": "predawn.sublime-theme",
"trim_trailing_white_space_on_save": true,
"translate_tabs_to_spaces": true,
"update_check": false,
//设置数值以调整滚动速度,值越高滚动速度越快,设置为0即禁用平滑滚动。
"scroll_speed": 0.5
}
Python 3.sublime-build
{
"cmd": ["C:/Users/chenw/AppData/Local/Programs/Python/Python38/python.exe","-u","$file"],
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
"selector": "source.python",
}
SublimeREPL.sublime-settings
空的。
下载(2021年8月4日更新)· 阿里云盘
打开阿里云盘 APP 扫一扫
2021年8月17日更新
新增加了 Preferences.sublime-settings 里面的一项值。
其实本来想升级到 Sublime Text 4 的,可是又怕与插件等不兼容。先等着吧。
作者:DawnNeon
若要转载请标明出处:https://blog.csdn.net/Dawn_Neon/article/details/119381675
写在最后:仅供参考!
边栏推荐
- 9、动态SQL
- [One step in place] Jenkins installation, deployment, startup (complete tutorial)
- The Road to Ad Monetization for Uni-app Mini Program Apps: Full Screen Video Ads
- Programming hodgepodge (4)
- 2022年PMP考试延迟了,该喜该忧?
- Get the selected content of the radio box
- [Cloud Native--Kubernetes] Pod Resource Management and Probe Detection
- Teenage Achievement Hackers Need These Skills
- 7.18 Day23----标记语言
- Do you think border-radius is just rounded corners?【Various angles】
猜你喜欢
腾讯136道高级岗面试题:多线程+算法+Redis+JVM
The symbol table
word 公式编辑器 键入技巧 | 写数学作业必备速查表
Can‘t connect to MySQL server on ‘localhost3306‘ (10061) 简洁明了的解决方法
px、em、rem的区别
leetcode 12. Integer to Roman numeral
企业需要知道的5个 IAM 最佳实践
[Cocos 3.5.2]开启模型合批
[Cloud Native--Kubernetes] Pod Resource Management and Probe Detection
败给“MySQL”的第60天,我重振旗鼓,四面拿下蚂蚁金服offer
随机推荐
编程大杂烩(三)
【JS】js给对象动态添加、设置、删除属性名和属性值
MySQL date functions
解决错误:npm WARN config global `--global`, `--local` are deprecated
Interesting Kotlin 0x0E: DeepRecursiveFunction
在被面试官说了无数次后,终于潜下心来整理了一下JVM的类加载器
As soon as flink cdc is started, the CPU of the source Oracle server soars to more than 80%. What is the reason?
渗透测试(PenTest)基础指南
Towards Real-Time Multi-Object Tracking (JDE)
Chapter 5 C programming expert thinking 5.4 alert Interpositioning of links
部署LVS-DR群集【实验】
Dynamic programming of the division of numbers
7.15 Day21---MySQL----索引
MySql数据恢复方法个人总结
【评价类模型】Topsis法(优劣解距离法)
Teenage Achievement Hackers Need These Skills
力扣:63. 不同路径 II
How to view sql execution plan offline collection
读者让我总结一波 redis 面试题,现在肝出来了
4.3 Annotation-based declarative transactions and XML-based declarative transactions