gecko-dev/suite/browser/mac/platformNavigationBindings.xul

27 строки
1.3 KiB
XML

<?xml version="1.0"?>
<!DOCTYPE overlay SYSTEM "chrome://navigator-platform/locale/platformNavigationBindings.dtd">
<overlay id="platformNavigationBindings"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<keyset id="navigationKeys">
<!-- proper arrow key navigation, 4.xP -->
<key keycode="&goBackCmd.keyCode;" command="Browser:Back" modifiers="accel"/>
<key keycode="&goForwardCmd.keyCode;" command="Browser:Forward" modifiers="accel"/>
<key id="goBackKb" key="&goBackCmd.commandKey;" command="Browser:Back" modifiers="accel"/>
<key id="goForwardKb" key="&goForwardCmd.commandKey;" command="Browser:Forward" modifiers="accel"/>
<key id="goUpKb" keycode="VK_UP" command="Browser:Up" modifiers="accel"/>
<key id="key_stop2" keycode="VK_ESCAPE" oncommand="BrowserStop();"/>
<key id="key_stop" key="." oncommand="BrowserStop();" modifiers="accel"/>
<key id="goHome" keycode="VK_HOME" command="Browser:Home" modifiers="meta"/>
<key id="key_newTabWithTarget" keycode="VK_INSERT" modifiers="shift" command="cmd_newTabWithTarget"/>
<!-- Support Accel+Shift for Add Bookmark -->
<key id="addBookmarkKb" key="&addCurPageCmd.commandkey;" command="Browser:AddBookmark" modifiers="accel,shift"/>
</keyset>
</overlay>