mirror of
https://github.com/rn10950/RetroZilla.git
synced 2024-11-11 10:20:19 +01:00
44 lines
1.7 KiB
Plaintext
44 lines
1.7 KiB
Plaintext
|
<?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>
|
||
|
|