File tree Expand file tree Collapse file tree
src/vs/workbench/browser/parts/statusbar Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -947,6 +947,30 @@ KeybindingsRegistry.registerCommandAndKeybindingRule({
947947 }
948948} ) ;
949949
950+ KeybindingsRegistry . registerCommandAndKeybindingRule ( {
951+ id : 'workbench.statusBar.focusFirst' ,
952+ weight : KeybindingWeight . WorkbenchContrib ,
953+ primary : KeyCode . Home ,
954+ when : CONTEXT_STATUS_BAR_FOCUSED ,
955+ handler : ( accessor : ServicesAccessor ) => {
956+ const statusBarService = accessor . get ( IStatusbarService ) ;
957+ statusBarService . focus ( false ) ;
958+ statusBarService . focusNextEntry ( ) ;
959+ }
960+ } ) ;
961+
962+ KeybindingsRegistry . registerCommandAndKeybindingRule ( {
963+ id : 'workbench.statusBar.focusLast' ,
964+ weight : KeybindingWeight . WorkbenchContrib ,
965+ primary : KeyCode . End ,
966+ when : CONTEXT_STATUS_BAR_FOCUSED ,
967+ handler : ( accessor : ServicesAccessor ) => {
968+ const statusBarService = accessor . get ( IStatusbarService ) ;
969+ statusBarService . focus ( false ) ;
970+ statusBarService . focusPreviousEntry ( ) ;
971+ }
972+ } ) ;
973+
950974KeybindingsRegistry . registerCommandAndKeybindingRule ( {
951975 id : 'workbench.statusBar.clearFocus' ,
952976 weight : KeybindingWeight . WorkbenchContrib ,
You can’t perform that action at this time.
0 commit comments