V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
leohxj
V2EX  ›  Sublime Text

如何设置快速切换标签快捷键?

  •  
  •   leohxj · 2013-12-30 11:22:56 +08:00 · 2460 次点击
    这是一个创建于 4007 天前的主题,其中的信息可能已经有所发展或是发生改变。
    按ctrl+数字键,跳转到对应的标签页上。
    我现在只能ctrl+tab, 或者ctrl+pageup/pagedown来切换。想要类似chrome中ctrl+数字键切换标签的功能。
    2 条回复    1970-01-01 08:00:00 +08:00
    otakustay
        1
    otakustay  
       2013-12-30 11:39:15 +08:00   ❤️ 1
    { "keys": ["super+1"], "command": "select_by_index", "args": { "index": 0 } },
    { "keys": ["super+2"], "command": "select_by_index", "args": { "index": 1 } },
    { "keys": ["super+3"], "command": "select_by_index", "args": { "index": 2 } },
    { "keys": ["super+4"], "command": "select_by_index", "args": { "index": 3 } },
    { "keys": ["super+5"], "command": "select_by_index", "args": { "index": 4 } },
    { "keys": ["super+6"], "command": "select_by_index", "args": { "index": 5 } },
    { "keys": ["super+7"], "command": "select_by_index", "args": { "index": 6 } },
    { "keys": ["super+8"], "command": "select_by_index", "args": { "index": 7 } },
    { "keys": ["super+9"], "command": "select_by_index", "args": { "index": 8 } },
    { "keys": ["super+0"], "command": "select_by_index", "args": { "index": 9 } },

    这是key bindings里的配置,把super改成ctrl应该就是你要的
    leohxj
        2
    leohxj  
    OP
       2013-12-30 11:43:48 +08:00
    @otakustay Thanks, 生效了。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5357 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 20ms · UTC 07:05 · PVG 15:05 · LAX 23:05 · JFK 02:05
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.