更改“下一个文件"和“上一个文件"Sublime Text 2 中的快捷方式 [英] Change "Next File" and "Previous File" shortcut in Sublime Text 2

查看:56
本文介绍了更改“下一个文件"和“上一个文件"Sublime Text 2 中的快捷方式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我没能在 Sublime 中更改用于切换文件的键绑定.有人知道交易在这里吗?我想要实现的只是 cmd+] 和 cmd+[ 来显示下一个和上一个文件.然后我可以使用 tab 和 shift+tab 进行所有缩进.

<预><代码>[{ "keys": ["super+]"], "command": "下一个文件" },{ "keys": ["super+["], "command": "上一个文件" }]

谢谢大家!

解决方案

试试这个:

<预><代码>[{ "keys": ["ctrl+]"], "command": "next_view" },{ "keys": ["ctrl+["], "command": "prev_view" }]

当然,这会进入键绑定 - 用户"文件.

I'm having no luck changing the key bindings for switching files in Sublime. Does anybody know that the deal is here? All i'm trying to achieve is cmd+] and cmd+[ to show next and previous files. Then i can use tab and shift+tab for all my indenting.

[
   { "keys": ["super+]"], "command": "Next File" },
   { "keys": ["super+["], "command": "Previous File" }
]

Thanks everyone!

解决方案

Try this:

[
  { "keys": ["ctrl+]"], "command": "next_view" },
  { "keys": ["ctrl+["], "command": "prev_view" }
]

Of course this goes into the "Key Bindings - User" file.

这篇关于更改“下一个文件"和“上一个文件"Sublime Text 2 中的快捷方式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆