自用sublime配置

安装插件

  • ChineseLocalizations
  • Insert Nums
  • MarkdownPreview
  • Python 3
  • Terminus
  • SideBarTools

设置

{
	"ignored_packages":
	[
		"Vintage",
	],
	"color_scheme": "auto",
	"dark_color_scheme": "Breakers.sublime-color-scheme",
	"light_color_scheme": "Breakers.sublime-color-scheme",
	"theme": "auto",
	"dark_theme": "Default.sublime-theme",
	"light_theme": "Default.sublime-theme",
	"font_size": 16,
	"translate_tabs_to_spaces": true,
	"update_check": false,
	"binary_file_patterns": [ "*.jpg", "*.jpeg", "*.png", "*.gif", "*.ttf", "*.tga", "*.dds", "*.ico", "*.eot", "*.pdf", "*.swf", "*.jar", "*.zip", "node_modules/**", "bower_components/**"],
}

快捷键设置

[
    { "keys": ["ctrl+alt+s"], "command": "save_all", "args": { "async": true } },
    { "keys": ["ctrl+m"], "command": "markdown_preview", "args": { "target": "browser" } },
    { 
        "keys": ["ctrl+t"], 
        "command": "toggle_terminus_panel", "args": {
            "cmd": "powershell",
            "cwd": "${file_path:${folder}}"
        }
    }
]

代码片段

markdown中的代码片段快捷生成-英文字符

<snippet>
    <content><![CDATA[```shell
${1}
```]]></content>
    <!-- Optional: Tab trigger to activate the snippet -->
    <tabTrigger>``</tabTrigger>
    <!-- Optional: Scope the tab trigger will be active in -->
    <scope>text.html.markdown</scope>
    <!-- Optional: Description to show in the menu -->
    <description>My Fancy Snippet</description>
</snippet>

markdown中的代码片段快捷生成-中文字符

<snippet>
    <content><![CDATA[```shell
${1}
```]]></content>
    <!-- Optional: Tab trigger to activate the snippet -->
    <tabTrigger>··</tabTrigger>
    <!-- Optional: Scope the tab trigger will be active in -->
    <scope>text.html.markdown</scope>
    <!-- Optional: Description to show in the menu -->
    <description>My Fancy Snippet</description>
</snippet>

markdown中的cat命令快捷生成

<snippet>
    <content><![CDATA[cat > ${1} << EOF
${2}
EOF]]></content>
    <!-- Optional: Tab trigger to activate the snippet -->
    <tabTrigger>cat</tabTrigger>
    <!-- Optional: Scope the tab trigger will be active in -->
    <scope>text.html.markdown</scope>
    <!-- Optional: Description to show in the menu -->
    <description>My Fancy Snippet</description>
</snippet>
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值