zoukankan      html  css  js  c++  java
  • Custom & Eclipse shortcuts key bindings for Sublime Text 2

    [
    { "keys": ["f12"], "command": "htmlprettify"},
    { "keys": ["f1"], "command": "fold" },
    { "keys": ["f2"], "command": "unfold" },
    { "keys": ["ctrl+l"], "command": "show_overlay", "args": {"overlay": "goto", "text": "@"} },
     
    { "keys": ["ctrl+space"], "command": "auto_complete" },
    { "keys": ["ctrl+space"], "command": "replace_completion_with_auto_complete", "context":
    [
    { "key": "last_command", "operator": "equal", "operand": "insert_best_completion" },
    { "key": "auto_complete_visible", "operator": "equal", "operand": false },
    { "key": "setting.tab_completion", "operator": "equal", "operand": true }
    ]
    },
    { "keys": ["ctrl+d"], "command": "run_macro_file", "args": {"file": "Packages/Default/Delete Line.sublime-macro"} },
    { "keys": ["ctrl+shift+c"], "command": "toggle_comment", "args": { "block": false } },
    { "keys": ["ctrl+shift+c"], "command": "toggle_comment", "args": { "block": true } },
    { "keys": ["ctrl+shift+f"], "command": "reindent" , "args": {"single_line": false}},
    { "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" }
    ]
    (from https://gist.github.com/thbkrkr/3194275)
  • 相关阅读:
    DataGridView在vb.net中的操作技巧
    0、(空字串)、Null、Empty、与Nothing的区别
    System.Timers.Timer与System.Windows.Forms.Timer 区别
    C#判断常见类型格式是否正确的类
    C#对系统注册表操作的类
    Socket基础知识分享
    怎样才能充分利用SQL索引
    通过建立Socket连接来快速判断数据库连接是否正确
    C#中各种数据类型转换的方法的类
    VB.Net C#代码转换工具
  • 原文地址:https://www.cnblogs.com/ikaka/p/3859975.html
Copyright © 2011-2022 走看看