Sublime Text 配置记录

时间:2024-06-27 18:35:50

sublime userSetting

对sublime的配置

{
"color_scheme": "Packages/Color Scheme/xcode-Dark.tmTheme",
"font_size": 14,//自定大小
"highlight_line": true,//高亮
"ignored_packages":
[
"Vintage"
],
"line_padding_bottom": 1,//行上下间距
"line_padding_top": 1,
"show_encoding": true,//显示编码方式
"translate_tabs_to_spaces": true,//使用空格填充tab
"word_wrap": true//自动换行
}

sublime theme

sublime主题设计网站好像只支持Chrome 在线生成。在此网站中配置出自己喜欢的主题,然后保存下载主题文件。将主题文件放在 '~/资源库/Application Support/Sublime Text 3/Packages/Color Scheme'文件夹中(若无此文件夹,则直接创建),然后去 Sublime Text ==> Preferences ==> Color Scheme 中设置主题即可

sublime plug

  1. Package Control

    插件管理器,网上有很多安装教程

  2. Alignment

    字符对齐排版详情介绍

  3. BracketHighlighter

    为Sublime Text提供括号,引号这类高亮功能

  4. Markdown Editing

    Sublime 中编写 Markdown 提供索引和快捷键方式

    Option + Command+ V ==> 粘贴为链接格式

    Shift + Command + K ==> 插入图片。

  5. MarkdownTOC

    自动生成目录方便跳转,MarkdownTOC 可以帮助我们实现。需要配置 Setting-user 文件

     {
    "default_autolink": true,
    "default_bracket": "round",
    "default_depth": 0,
    "id_replacements": {
    "": " ",
    "" : ["&lt;","&gt;","&amp;","&apos;","&quot;","<",">","&","'",""","!","#","$","&","'","(",")","*","+",",","/",":",";","=","_","?","@","[","]","`","\"", ".","<",">","{","}","™","®","©","1","2","3","4","5","6","7","8","9","0"," "]
    }
    }

    将光标置于文档首部,点击 Tools ==> MarkdownTOC ==> Insert TOC,会自动在文首生成目录,编辑器编辑运行时不支持跳转,但是发布成笔记或博文后是支持跳转的。

  6. OmniMarkupPreviewer

    支持将标记语言(Markdown仅是其中一种)渲染为 HTML 并在浏览器上实时预览,同时支持导出 HTML。

  7. SideBarEnhancements

    对目录添加文件夹操作

  8. Anaconda

    Anaconda把PyFlakes, pep8 和 McCabe以插件的方式集成起来。安装Anaconda后,通过配置即可完成一个良好的Python开发环境。