6

我知道我们可以在 VIM 中使用 nerdtree 和 gT 和 gt 命令来实现这一点。但是有没有办法在 Sublime Text Vintage Mode 中实现类似的行为?

4

3 回答 3

31

或者(为了后代),您可以将其粘贴到您的键盘映射文件中:

{ "keys": ["g", "t"], "command": "next_view",
    "context":
    [
        { "key": "setting.command_mode", "operand": true },
        { "key": "setting.is_widget", "operand": false }
    ]
},

{ "keys": ["g", "T"], "command": "prev_view",
    "context":
    [
        { "key": "setting.command_mode", "operand": true },
        { "key": "setting.is_widget", "operand": false }
    ]
},
于 2012-07-15T01:18:37.290 回答
5

我不认为 Vintage 模式有这些绑定到gtgT或者除了Ctrl+TabCtrl+ Shift+之外的任何东西与andTab完全一样,无论你是否处于 Vintage 模式(INSERT 或 NORMAL)。gtgT

您知道,有一种非常简单的方法可以找到应用程序使用的快捷方式:只需查看菜单栏。这就是我为你做的,不到 30 秒。

于 2012-02-15T06:51:11.763 回答
1

在 ST3 上安装 Vintageous 将比默认的 Vintage 包提供的更多。

于 2013-08-15T22:39:47.140 回答