Keung

导航

Sublime Text 添加eclipse快捷键

[
    // editor配置
    { "keys": ["ctrl+v"], "command": "paste_and_indent" },
    { "keys": ["ctrl+shift+v"], "command": "paste" },
    
    //{ "keys": ["ctrl+shift+x"], "command": "upper_case" },
    //{ "keys": ["ctrl+shift+y"], "command": "lower_case" },

	// 删除整行
    { "keys": ["ctrl+d"], "command": "run_macro_file", "args": {"file": "Packages/Default/Delete Line.sublime-macro"} },
    // 光标移动到指定行
    { "keys": ["ctrl+l"], "command": "show_overlay", "args": {"overlay": "goto", "text": ":"} },
    // 快速定位到选中的文字
    { "keys": ["ctrl+k"], "command": "find_under_expand_skip" },
	// 这个命令默认使用的是ctrl+shift+P
    { "keys": ["ctrl+p"], "command": "show_overlay", "args": {"overlay": "command_palette"} },
    // outline
    { "keys": ["ctrl+o"], "command": "show_overlay", "args": {"overlay": "goto", "text": "@"} },
    // 当前文件中的关键字(方便快速查找内容)
    { "keys": ["ctrl+alt+o"], "command": "show_overlay", "args": {"overlay": "goto", "text": "#"} },
    // open resource
    { "keys": ["ctrl+shift+r"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true} },
    // 文件内查找/替换
    { "keys": ["ctrl+f"], "command": "show_panel", "args": {"panel": "replace"} },
    // 全局查找/替换, 在查询结果中双击跳转到匹配位置
    {"keys": ["ctrl+h"], "command": "show_panel", "args": {"panel": "find_in_files"} },

	// plugin配置
    { "keys": ["alt+a"], "command": "alignment" },
    { "keys": ["ctrl+shift+f"], "command": "js_format" }
]

posted on 2015-11-02 17:10  CrazyKeung  阅读(722)  评论(0编辑  收藏  举报