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)
  • 相关阅读:
    mysql主从备份案例—读写分离(异步主从)
    MySQL 汉化+完全备份操作实例
    Linux指令和shell脚本
    文件压缩和打包
    文件系统格式化和挂载
    linux常用指令和一些选项的汇总
    linux文件权限和群组
    [windows][技巧]百度网盘提示您的电脑已安装百度网盘,是否覆盖,解决方法
    [html][js]视频倍速播放功能
    [julia][学习笔记]julia的安装
  • 原文地址:https://www.cnblogs.com/ikaka/p/3859975.html
Copyright © 2011-2022 走看看