Sublime添加eclipse常用快捷键

来源:互联网 发布:python app 编辑:程序博客网 时间:2024/05/22 06:15
在国外网站上找到的 

Preferences -> Key bindings - User 
把下面的代码粘贴进去即可 
参考http://blog.icoloma.com/2011/10/eclipse-shortcuts-for-sublime-text-2.html 

另还有http://www.douban.com/note/276794943/ 


[ { "keys": ["shift+enter"], "command": "run_macro_file", "args": {"file": "Packages/Default/Add Line.sublime-macro"} }, { "keys": ["alt+up"], "command": "swap_line_up" }, { "keys": ["alt+down"], "command": "swap_line_down" }, { "keys": ["ctrl+alt+j"], "command": "join_lines" }, { "keys": ["ctrl+alt+down"], "command": "duplicate_line" }, { "keys": ["shift+ctrl+r"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true} }, { "keys": ["ctrl+shift+s"], "command": "save_all" }, { "keys": ["ctrl+l"], "command": "show_overlay", "args": {"overlay": "goto", "text": ":"} }, { "keys": ["shift+ctrl+f4"], "command": "close_all" }, { "keys": ["shift+ctrl+y"], "command": "lower_case" }, { "keys": ["shift+ctrl+x"], "command": "upper_case" }, { "keys": ["ctrl+d"], "command": "run_macro_file", "args": {"file": "Packages/Default/Delete Line.sublime-macro"} }]


0 0