SublimeText个性化快捷键设置

一、光标跳出括号

在编写js函数的时候,输入函数名和括号的时候,要想光标跳出括号还得手动的按left键。离两个手的区域比较远,可自行配置

preferences - keys bindings - user

{ "keys": ["enter"], "command": "move", "args": {"by": "characters", "forward": true}, "context":  
    [  
        { "key": "following_text", "operator": "regex_contains", "operand": "^[)\\]\\>\\'\\\"]", "match_all": true },  
    ]     
  },  

回车即可跳出括号

posted @ 2016-12-16 22:36  cygnet  阅读(360)  评论(0编辑  收藏  举报