38 lines
1.4 KiB
XML
38 lines
1.4 KiB
XML
<?xml version="1.0"?>
|
|
<!-- mac version of platformBrowserBindings.xul -->
|
|
|
|
<keybinding id="platformBrowserBindings"
|
|
xmlns:html="http://www.w3.org/TR/REC-html40"
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
|
|
|
<!-- Mac-specific key bindings -->
|
|
<keyset id="editorKeySet" xulkey="meta">
|
|
|
|
<!-- Mac bindings for home and end -->
|
|
<key id="macHomekb" keycode="VK_HOME" shift="false" alt="false" control="false"
|
|
onkeypress="
|
|
var controller = document.commandDispatcher.getControllerForCommand('cmd_scrollTop');
|
|
controller.doCommand('cmd_scrollTop');"/>
|
|
<key id="macEndkb" keycode="VK_END" shift="false" control="false" alt="false"
|
|
onkeypress="
|
|
var controller = document.commandDispatcher.getControllerForCommand('cmd_scrollBottom');
|
|
controller.doCommand('cmd_scrollBottom');"/>
|
|
<key id="macCutKey" key="x" xulkey="true"
|
|
onkeypress="
|
|
var controller = document.commandDispatcher.getControllerForCommand('cmd_cut');
|
|
controller.doCommand('cmd_cut');"/>
|
|
<key id="macCopyKey" key="c" xulkey="true"
|
|
onkeypress="
|
|
var controller = document.commandDispatcher.getControllerForCommand('cmd_copy');
|
|
controller.doCommand('cmd_copy');"/>
|
|
<key id="macPasteKey" key="v" xulkey="true"
|
|
onkeypress="
|
|
var controller = document.commandDispatcher.getControllerForCommand('cmd_paste');
|
|
controller.doCommand('cmd_paste');"/>
|
|
|
|
</keyset>
|
|
<!-- End Mac-specific key bindings -->
|
|
|
|
</keybinding>
|
|
|