1. 程式人生 > >sublime2自定義配置

sublime2自定義配置

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自定義配置