зеркало из https://github.com/mozilla/pjs.git
44 строки
1.7 KiB
XML
44 строки
1.7 KiB
XML
<?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>
|
|
|