• 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
  • 相关阅读:
    C++中typename关键字的用法
    多项式系数的值
    记录几个经典的字符串hash算法
    linux timerfd系列函数总结
    linux 获取网络状态信息(Rtnetlink)
    linux netlink通信机制
    linux进程、线程与cpu的亲和性(affinity)
    C语言检查ip是否合法
    使用libpcap获取http报文
    使用libpcap过滤arp
  • 原文地址:https://www.cnblogs.com/atjs/p/5919208.html
Copyright © 2020-2023  润新知