zoukankan      html  css  js  c++  java
  • Sublime Text 3 自用快捷键

    自用快捷键目的是为了减少鼠标的使用,提高开发效率。

    快捷键配置:

    [
      // 代码对齐插件
        { "keys": ["shift+alt+a"], "command": "alignment" },
     
      // 代码书签快捷键代替
        { "keys": ["f8"], "command": "next_bookmark" },
        { "keys": ["shift+f8"], "command": "prev_bookmark" },
        { "keys": ["ctrl+f8"], "command": "toggle_bookmark" },
        { "keys": ["ctrl+shift+f8"], "command": "clear_bookmarks" },
        { "keys": ["alt+f8"], "command": "select_all_bookmarks" },
    
        // 删除行
        { "keys": ["ctrl+alt+k", "ctrl+alt+k"], "command": "run_macro_file", "args": {"file": "res://Packages/Default/Delete to Hard EOL.sublime-macro"} },
        { "keys": ["ctrl+shift+alt+k"], "command": "run_macro_file", "args": {"file": "res://Packages/Default/Delete Line.sublime-macro"} },  
    
      // 光标移动
        { "keys": ["shift+alt+u"], "command": "move_to", "args": {"to": "bol", "extend": true} },
        { "keys": ["shift+alt+i"], "command": "move_to", "args": {"to": "eol", "extend": true} },
      
        { "keys": ["alt+a"], "command": "move_to", "args": {"to": "bol", "extend": false} },
        { "keys": ["alt+e"], "command": "move_to", "args": {"to": "eol", "extend": false} },
      
        { "keys": ["alt+u"], "command": "move_to", "args": {"to": "bol", "extend": false} },
        { "keys": ["alt+i"], "command": "move_to", "args": {"to": "eol", "extend": false} },
    
        { "keys": ["shift+alt+h"], "command": "move", "args": {"by": "characters", "forward": false, "extend": true} },
        { "keys": ["shift+alt+l"], "command": "move", "args": {"by": "characters", "forward": true, "extend": true} },
        { "keys": ["shift+alt+k"], "command": "move", "args": {"by": "lines", "forward": false, "extend": true} },
        { "keys": ["shift+alt+j"], "command": "move", "args": {"by": "lines", "forward": true, "extend": true} },
      
        { "keys": ["alt+b"], "command": "move", "args": {"by": "characters", "forward": false} },
        { "keys": ["alt+f"], "command": "move", "args": {"by": "characters", "forward": true} },
        { "keys": ["alt+p"], "command": "move", "args": {"by": "lines", "forward": false} },
        { "keys": ["alt+n"], "command": "move", "args": {"by": "lines", "forward": true} },
    
        { "keys": ["alt+h"], "command": "move", "args": {"by": "characters", "forward": false} },
        { "keys": ["alt+l"], "command": "move", "args": {"by": "characters", "forward": true} },
        { "keys": ["alt+k"], "command": "move", "args": {"by": "lines", "forward": false} },
        { "keys": ["alt+j"], "command": "move", "args": {"by": "lines", "forward": true} },
    
        { "keys": ["ctrl+alt+h"], "command": "move", "args": {"by": "words", "forward": false} },
        { "keys": ["ctrl+alt+l"], "command": "move", "args": {"by": "word_ends", "forward": true} },
        { "keys": ["ctrl+shift+alt+h"], "command": "move", "args": {"by": "words", "forward": false, "extend": true} },
        { "keys": ["ctrl+shift+alt+l"], "command": "move", "args": {"by": "word_ends", "forward": true, "extend": true} }
    ]
    配色方案:
    Theme:
    Color Scheme:
    Settings-User:
    {
        "color_scheme": "Packages/Color Scheme - Sleeplessmind/Sleeplessmind.tmTheme",
    }
    //------------------------------------------------
    {
        "itg_sidebar_tree_large": true,
        "itg_small_tabs": true,
        "theme": "itg.flat.light.sublime-theme"
    }
    //------------------------------------------------
    {
        "numix_sidebar_tree_large": true,
        "numix_light_tabs_small": true,
        "theme": "Numix Light.sublime-theme",
    }

     

    插件类:

    • Emmet (前端)
    • DocBlockr (代码注释)
    • Advanced​New​File (文件新建)

     

    相关阅读:

    • https://laravel-china.org/topics/1394
  • 相关阅读:
    js 将u003C这一类东西转换为标签
    git使用
    js_03 面向对象
    初级算法 数组
    python 用execjs执行js代码
    js_02 函数
    递归
    01 .linux常用命令
    08. 脱缰的野马 crawlspider
    SPACES:“抽取-生成”式长文本摘要(法研杯总结)
  • 原文地址:https://www.cnblogs.com/atjs/p/5919208.html
Copyright © 2011-2022 走看看