sublime text 3 配置

先来个效果图。。还有部分地方没配置到自己想的地方

 

 

以下都是个人想法观点:

配置sublime 主要用到上面的两个文件,一个是.sublime-settings(主要用来修改编码的样式等的),另外一个是.sublime-theme(主要用来修改sublime主题的样式的)

 
第一个.sublime-settings文件简单介绍
 
用户设置 Perferences -> Settings User  打开这个文件
 
引入以下代码(部分设置)
 
     "caret_extra_width": 2,          //光标的宽度

     "show_encoding": true,          //右下角显示当前文件的编码

    "word_wrap": true,               //自动换行

     "line_padding_bottom": 1,     //行底距离
     "line_padding_top": 1,          //行顶距离

     "scroll_past_end": true,     //要不要滚过头

     "tab_size": 4,                    //Tab转换
     "translate_tabs_to_spaces": false,

     "theme": "predawn-DEV.sublime-theme",     //侧边栏的主题设置

 

第二个.sublime-theme文件简单介绍

修改上面打开的文件的tabs选项卡样式:

{
// Tabs
"class": "tabset_control",
"layer0.texture": "Predawn/assets/tabset-background.png",
"layer0.inner_margin": [10, 0],
"layer0.opacity": 1.0,
"content_margin": [0, 0, 0, 0],
"tab_overlap": 1,
"tab_width": 260,
"tab_min_width": 100,
"tab_height": 66,
"mouse_wheel_switch": false,
},

{
// Tab labels
"class": "tab_label",
"fade": false,
"fg": [205, 133, 63],
"font.bold" : false,
"font.size" : 12,
},

 

修改侧边栏的样式

 

{
// Sidebar entry
"class": "sidebar_label",
"font.size": 16,
"color": [140, 140, 140]
},
{
// Sidebar folder entry
"class": "sidebar_label",
"parents": [{"class": "tree_row", "attributes": ["expandable"]}],
"color": [210, 210, 210]
},
{
"class": "sidebar_label",
"parents": [{"class": "tree_row", "attributes": [ "hover"]}],
"color": [240, 240, 240]
},
{
// Sidebar entry selected
"class": "sidebar_label",
"parents": [{"class": "tree_row", "attributes": ["selected"]}],
"color": [240, 240, 240]
},
{
// Sidebar entry transient
"class": "sidebar_label",
"attributes": ["transient"],
"font.italic": true
},

posted @ 2016-02-26 16:48  Kim金  阅读(273)  评论(0)    收藏  举报