Hi everybody !
I use ⌃ ⌘ T to look into the bundles, but what if the key equivalent is used in TM itself ?
**Example:** If I search for ⌘ E in "Select Bundle Item dialog" => I find nothing. Although it is used by TM for menu "Use Selection for Find". So, what would be great would be that the "Select Bundle Item dialog" could inform that the key equivalent is used by TM. Or, when I type in the "Key equivalent" field, a message could inform me that the key equivalent is already used and where.
Furthermore, is there a way to record the settings in the "Select Bundle Item dialog" ? If I previously set «Key equivalent» instead of «Title», I would like to have «Key equivalent» selected the next time I call the dialog. Idem for «Current Scope» and «Actions».
Thank you in advance for your answer. And thank you for this wonderful tool: TextMate.
Bruno.
On 8 Jan 2014, at 21:57, boissonnfive wrote:
I use ⌃ ⌘ T to look into the bundles, but what if the key equivalent is used in TM itself ? […]
For now there is no way to search the key equivalents assigned to non-bundle item actions, but it is a common request.
It’s a little tricky because we rely on the system to resolve non-bundle item key equivalents and the exact algorithm used (by the system) is complex (and would have to be replicated by TextMate).
Furthermore, is there a way to record the settings in the "Select Bundle Item dialog" ? If I previously set «Key equivalent» instead of «Title», I would like to have «Key equivalent» selected the next time I call the dialog. Idem for «Current Scope» and «Actions».
The settings are not remembered. However, the buttons can be activated using ⌘1-n for the i’th button.
For example to switch to key equivalent search press ⌘4.
Couldn’t you query the system for the resulting action for a given key press instead of trying to replicate the logic? At worst, request a list of the active key equivalents, and search through the results.
I think that CheatSheet manages it somehow... http://www.mediaatelier.com/CheatSheet/
On Jan 9, 2014, at 10:39 PM, Allan Odgaard mailinglist@textmate.org wrote:
On 8 Jan 2014, at 21:57, boissonnfive wrote:
I use ⌃ ⌘ T to look into the bundles, but what if the key equivalent is used in TM itself ? […]
For now there is no way to search the key equivalents assigned to non-bundle item actions, but it is a common request.
It’s a little tricky because we rely on the system to resolve non-bundle item key equivalents and the exact algorithm used (by the system) is complex (and would have to be replicated by TextMate).
Furthermore, is there a way to record the settings in the "Select Bundle Item dialog" ? If I previously set «Key equivalent» instead of «Title», I would like to have «Key equivalent» selected the next time I call the dialog. Idem for «Current Scope» and «Actions».
The settings are not remembered. However, the buttons can be activated using ⌘1-n for the i’th button.
For example to switch to key equivalent search press ⌘4.
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
I think that CheatSheet manages it somehow... http://www.mediaatelier.com/CheatSheet/
I believe it does it going through all menu items, this can be done I believe in TM2 too. However this will not account any system wide shortcuts.
Cheers,
On 10 Jan 2014, at 18:39, Adam Strzelecki wrote:
I think that CheatSheet manages it somehow... http://www.mediaatelier.com/CheatSheet/
I believe it does it going through all menu items, this can be done I believe in TM2 too. However this will not account any system wide shortcuts.
Going through the menu is required, yes, as we would otherwise not include disabled menu items.
The “a little tricky” I mentioned was having to deal with potential menu delegates and matching a menu item’s key equivalent to the actual key event pressed: this might sound simple, but it is not. Though majority of the trial-and-error replicating the system’s behavior when interpreting key equivalents has been done in relation to my handling of KeyBindings.dict and related.