在 Textmate 中设置快捷键
我正在改用 Textmate,有一些事情我想改变。 我尝试过谷歌搜索来寻找答案,但没有找到如何全局重新绑定快捷方式的简单解释。
首先,选项卡切换不适用于 Cmd+Shift+{ 和 Cmd+Shift+} 这适用于几乎所有其他应用程序(FF、终端等)。
如何绑定这些键来切换选项卡?
其次,我想要 Ctrl+j/k/l/; 要移动光标,是否可以将该命令重新绑定到箭头键?
提前致谢。
I am switching to textmate and there are a few things I want to change. I have tried Googling for the answer, but haven't found a simple explanation for how to rebind shortcuts globally.
First, tab switching doesn't work with Cmd+Shift+{ and Cmd+Shift+} This works in nearly every other application (FF, Terminal, etc.)
How do bind those keys to switch tabs?
Second, I would like Ctrl+j/k/l/; to move the cursor, it it possible to rebind that command to the arrow keys?
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的。 对于箭头键,您可以录制宏(捆绑包 > 宏 > 开始录制、[按箭头]、停止录制、保存上次录制。它将使用一个命令
moveLeft:
选项卡切换,请转到“系统偏好设置”>“键盘快捷键”,然后为名为“下一个文件选项卡”和“上一个文件选项卡”的菜单项添加新快捷键。重新启动 TextMate,就完成了。
Yes. For the arrow keys, you can record a macro (Bundles > Macros > Start Recording, [press an arrow], Stop Recording, Save Last Recording. It'll make a macro with the one command
moveLeft:
or similar. Set a key equivalent and you're done.For the tab switching, go to System Preferences > Keyboard > Keyboard Shortcuts and add new shortcuts for menu items called "Next File Tab" and "Previous File Tab". Restart TextMate, and you're done.