mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-06 09:05:45 +00:00
72 lines
3.0 KiB
XML
72 lines
3.0 KiB
XML
<?xml version="1.0"?>
|
|
<!-- windows version of platformEditorBindings.xul -->
|
|
|
|
<keybinding id="platformEditorBindings"
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
|
|
|
<!-- xul key for Windows -->
|
|
<keyset id="editorKeySet" xulkey="ctrl">
|
|
|
|
|
|
<!-- alternate cut/copy/paste keys for Windows -->
|
|
<key id="winAlternateCutKey" 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="winAlternateCopyKey" keycode="VK_INSERT"
|
|
oncommand="
|
|
var controller = document.commandDispatcher.getControllerForCommand('cmd_copy');
|
|
controller.doCommand('cmd_copy');" modifiers="control"/>
|
|
<key id="winAlternatePasteKey" keycode="VK_INSERT"
|
|
oncommand="
|
|
var controller = document.commandDispatcher.getControllerForCommand('cmd_paste');
|
|
controller.doCommand('cmd_paste');" modifiers="shift"/>
|
|
|
|
<key id="key_leftcontrol" keycode="VK_LEFT"
|
|
oncommand="
|
|
var controller = document.commandDispatcher.getControllerForCommand('cmd_wordPrevious');
|
|
controller.doCommand('cmd_wordPrevious');" modifiers="accel"/>
|
|
<key id="key_rightcontrol" keycode="VK_RIGHT"
|
|
oncommand="
|
|
var controller = document.commandDispatcher.getControllerForCommand('cmd_wordNext');
|
|
controller.doCommand('cmd_wordNext');" modifiers="accel"/>
|
|
<key id="key_leftshiftcontrol" keycode="VK_LEFT"
|
|
oncommand="
|
|
var controller = document.commandDispatcher.getControllerForCommand('cmd_selectWordPrevious');
|
|
controller.doCommand('cmd_selectWordPrevious');" modifiers="shift, accel"/>
|
|
<key id="key_rightshiftcontrol" keycode="VK_RIGHT"
|
|
oncommand="
|
|
var controller = document.commandDispatcher.getControllerForCommand('cmd_selectWordNext');
|
|
controller.doCommand('cmd_selectWordNext');" modifiers="shift, accel"/>
|
|
|
|
<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"/>
|
|
<key id="key_homectrl" keycode="VK_HOME"
|
|
oncommand="
|
|
var controller =
|
|
document.commandDispatcher.getControllerForCommand('cmd_moveTop');
|
|
controller.doCommand('cmd_moveTop');" modifiers="control"/>
|
|
<key id="key_endctrl" keycode="VK_END"
|
|
oncommand="
|
|
var controller =
|
|
document.commandDispatcher.getControllerForCommand('cmd_moveBottom');
|
|
controller.doCommand('cmd_moveBottom');" modifiers="control"/>
|
|
</keyset>
|
|
|
|
<!-- End Windows-specific keybindings -->
|
|
|
|
</keybinding>
|
|
|