RetroZilla/xpfe/communicator/resources/content/win/platformBrowserBindings.xul

44 lines
1.7 KiB
Plaintext
Raw Normal View History

2015-10-21 05:03:22 +02:00
<?xml version="1.0"?>
<!-- windows version of platformBrowserBindings.xul -->
<keybinding id="platformBrowserBindings"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<!-- xul key for Windows -->
<keyset id="globalKeySet" xulkey="ctrl">
<!-- other keybindings for cut/copy/paste -->
<key id="winAlternativeCutKey" keycode="VK_DELETE"
oncommand="
var controller = document.commandDispatcher.getControllerForCommand('cmd_cut');
controller.doCommand('cmd_cut');" modifiers="shift"/>
<key id="winAlternateCopy2Key" keycode="VK_DELETE"
oncommand="
var controller = document.commandDispatcher.getControllerForCommand('cmd_copy');
controller.doCommand('cmd_copy');" modifiers="control"/>
<key id="winAlternativeCopyKey" keycode="VK_INSERT"
oncommand="
var controller = document.commandDispatcher.getControllerForCommand('cmd_copy');
controller.doCommand('cmd_copy');" modifiers="control"/>
<key id="winAlternativePasteKey" keycode="VK_INSERT"
oncommand="
var controller = document.commandDispatcher.getControllerForCommand('cmd_paste');
controller.doCommand('cmd_paste');" modifiers="shift"/>
<key id="key_homectrlshift" keycode="VK_HOME"
oncommand="
var controller =
document.commandDispatcher.getControllerForCommand('cmd_selectTop');
controller.doCommand('cmd_selectTop');" modifiers="shift, control"/>
<key id="key_endctrlshift" keycode="VK_END"
oncommand="
var controller =
document.commandDispatcher.getControllerForCommand('cmd_selectBottom');
controller.doCommand('cmd_selectBottom');" modifiers="shift, control"/>
</keyset>
<!-- End Windows-specific keybindings -->
</keybinding>