当前位置:网站首页>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
写在最后:仅供参考!
边栏推荐
猜你喜欢

嵌入式系统驱动初级【4】——字符设备驱动基础下_并发控制

8.03 Day34---BaseMapper query statement usage

企业需要知道的5个 IAM 最佳实践

高性能高可靠性高扩展性分布式防火墙架构

4.3 Annotation-based declarative transactions and XML-based declarative transactions

获取单选框选中内容

MySQL log articles, binlog log of MySQL log, detailed explanation of binlog log

读者让我总结一波 redis 面试题,现在肝出来了

TSF微服务治理实战系列(一)——治理蓝图

Grain Mall - Basics (Project Introduction & Project Construction)
随机推荐
What are the functions of mall App development?
9. Dynamic SQL
SLSA 框架与软件供应链安全防护
Will the 2023 PMP exam use the new version of the textbook?Reply is here!
CentOS7 - yum install mysql
4.1 JdbcTemplate for declarative transactions
想低成本保障软件安全?5大安全任务值得考虑
el-Select selector bottom fixed
[Evaluation model] Topsis method (pros and cons distance method)
4.1 声明式事务之JdbcTemplate
MySQL数据库面试题总结(2022最新版)
The symbol table
自动化测试的成本高效果差,那么自动化测试的意义在哪呢?
8. Custom mapping resultMap
C专家编程 第5章 对链接的思考 5.1 函数库、链接和载入
Do you think border-radius is just rounded corners?【Various angles】
Cannot read properties of null (reading ‘insertBefore‘)
The idea setting recognizes the .sql file type and other file types
擎朗智能全国研发创新中心落地光谷:去年曾获2亿美元融资
C Expert Programming Chapter 4 The Shocking Fact: Arrays and pointers are not the same 4.2 Why does my code not work