Change “Next File” and “Previous File” shortcut in Sublime Text 2

江枫思渺然 提交于 2019-12-05 03:32:48

Try this:

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

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

This is actually what you might have been really looking for. I find it more useful to go back to the previous file I was working on, not moving left and right through the tabs. But you can have bindings to both behaviors.

// This is very useful, go back to the previously viewed file regardless of
// tab order
  { "keys": ["super+["], "command": "next_view_in_stack" },
  { "keys": ["super+]"], "command": "prev_view_in_stack" }
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!