简体   繁体   English

TextMate:在编辑器和项目抽屉之间切换焦点的快捷方式

[英]TextMate: Shortcut for switching focus between editor and project drawer

I'm looking for a shortcut for switching focus between editor and project drawer in TextMate. 我正在寻找在TextMate中在编辑器和项目抽屉之间切换焦点的快捷方式。 I googled a bit with different results, but none of the shortcuts is working for me: 我在Google上搜索了一些不同的结果,但是这些快捷方式都不适合我:

http://dirtystylus.com/2007/10/26/toggling-between-main-window-and-drawer-in-textmate/ http://gtdmarc.blogspot.de/2008/06/some-useful-textmate-shortcuts.html http://dirtystylus.com/2007/10/26/toggling-between-main-window-and-drawer-in-textmate/ http://gtdmarc.blogspot.de/2008/06/some-useful-textmate- shortcuts.html

This link suggest installing the MissingDrawer Plugin, but but that's not the solution I'm looking for. 链接建议安装MissingDrawer插件,但这不是我正在寻找的解决方案。

I have OS X Lion 10.7.3 and TextMate 1.5.10 on a MacBook Pro with a German keyboard layout. 我在具有德语键盘布局的MacBook Pro上安装了OS X Lion 10.7.3和TextMate 1.5.10。

TextMate 2(使用西班牙语键盘)中的快捷键是ctrl + tab

The official answer is in the docs: 官方答案在文档中:

⌘` ⌘~ Switch to the next/previous window. Switch〜切换到下一个/上一个窗口。 This keyboard shortcut is based on the physical location of the key so on many European keymaps it is instead ⌘< and ⌘> (it is the key to the left of the Z). 该键盘快捷键基于按键的物理位置,因此在许多欧洲按键图中,它是⌘<和⌘>(它是Z左侧的键)。

⌥⌘` ⌥⌘~ Switch between main window and drawer. ⌥⌘`⌥⌘〜在主窗口和抽屉之间切换。 Like the previous key this one is also based on physical location. 与上一个键一样,该键也基于物理位置。 The function is not available on Panther. 该功能在Panther上不可用。

EDIT 编辑

Both have been working for me on my french keyboard but not how the docs said: neither + < nor + > did work but + ` did. 两者都在我的法语键盘上为我工作,但是文档说的却不行: + < + >均无效,但 + `均有效。 YMMV. YMMV。

ENDEDIT 结束编辑

刚发现,它是 + + <

In 2.0-beta cmd + alt + tab works fine. 在2.0-beta中, cmd + alt + 选项卡可以正常工作。 It's equivalent of Navigate->Move focus to file browser 相当于导航->将焦点移到文件浏览器

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM