1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-09 18:56:02 +02:00

Terminal: Bug 434487 - Key bindings for "maximize view" and "quick

access"

This initial commit contributes "Alt+Up" for "Maximize View",
it also works for "Restore View"; as well as "Alt+Right" for
"Quick Access" in lieu of Ctrl+3 which may need to go to the Terminal.

Still TBD: Add those commands to the context menu such that they are
discoverable; and, decide whether "Alt+Down" should also be contributed
as a more intuitive variant for "restore view".

Signed-off-by: Martin Oberhuber <martin.oberhuber@windriver.com>
Change-Id: Iebf912cb404636c43014e15af9e63dea407e083f
This commit is contained in:
Martin Oberhuber 2014-05-09 14:32:50 +02:00
parent c5af9fa891
commit 049cba8a41

View file

@ -13,6 +13,7 @@
# Michael Scharf (Wind River) - [237425] undefined tm.terminal command
# Martin Oberhuber (Wind River) - [378691][api] push Preferences into the Widget
# Martin Oberhuber (Wind River) - [434294] Add Mac bindings with COMMAND
# Martin Oberhuber (Wind River) - [434487] Add key bindings for "maximize view" and "quick access"
-->
<plugin>
<extension-point id="terminalConnectors" name="Terminal Connectors" schema="schema/terminalConnectors.exsd"/>
@ -184,6 +185,21 @@
platform="carbon"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="M1+V"/>
<!--
Additional Bindings for Quick Access (Ctrl+3) and Maximize View (Ctrl+M)
since these are extremely valuable, but the original shortcut may need
to go to the Terminal.
-->
<key
commandId="org.eclipse.ui.window.quickAccess"
contextId="org.eclipse.tm.terminal.EditContext"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="M3+ARROW_RIGHT"/>
<key
commandId="org.eclipse.ui.window.maximizePart"
contextId="org.eclipse.tm.terminal.EditContext"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="M3+ARROW_UP"/>
</extension>
<extension