码迷,mamicode.com
首页 > 其他好文 > 详细

sublime2自定义配置

时间:2017-11-20 21:48:45      阅读:103      评论:0      收藏:0      [点我收藏+]

标签:sublime2

1.settings-User


// Settings in here override those in "Default/Preferences.sublime-settings", and

// are overridden in turn by file type specific settings.

{

"default_encoding": "UTF-8",

"font_size":10,

"ignored_packages":

[

"Vintage"

]

}


2.key Bindings-User

[

   { "keys": ["ctrl+d"], "command": "run_macro_file", "args": {"file": "Packages/Default/Delete Line.sublime-macro"} },

   { "keys": ["ctrl+alt+down"], "command": "duplicate_line" },// 复制行

   { "keys": ["ctrl+alt+up"], "command": "duplicate_line" },// 复制行

   { "keys": ["alt+up"], "command": "swap_line_up" }, // 切换行

   { "keys": ["alt+down"], "command": "swap_line_down" }, // 切换行

   { "keys": ["ctrl+up"], "command": "select_lines", "args": {"forward": false} }, // 多行操作

   { "keys": ["ctrl+down"], "command": "select_lines", "args": {"forward": true} }, // 多行操作

   { "keys": ["ctrl+u"], "command": "toggle_side_bar" } // 显示隐藏左边菜单

]


本文出自 “旅行者” 博客,谢绝转载!

sublime2自定义配置

标签:sublime2

原文地址:http://881206524.blog.51cto.com/10315134/1983589

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!