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

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

  •  
  •   leohxj · 2013-12-30 11:22:56 +08:00 · 2461 次点击
    这是一个创建于 4009 天前的主题,其中的信息可能已经有所发展或是发生改变。
    按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   ·   实用小工具   ·   2700 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 05:36 · PVG 13:36 · LAX 21:36 · JFK 00:36
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.