revert d62c0aa0: "change windows shortcuts to match os conventions"
This commit is contained in:
parent
970dccdca4
commit
59af119a42
1 changed files with 7 additions and 7 deletions
|
|
@ -56,12 +56,12 @@ exports.commands = [{
|
|||
readOnly: true
|
||||
}, {
|
||||
name: "centerselection",
|
||||
bindKey: bindKey("Ctrl-L", "Ctrl-L"),
|
||||
bindKey: bindKey(null, "Ctrl-L"),
|
||||
exec: function(editor) { editor.centerSelection(); },
|
||||
readOnly: true
|
||||
}, {
|
||||
name: "gotoline",
|
||||
bindKey: bindKey("Ctrl-G", "Command-L"),
|
||||
bindKey: bindKey("Ctrl-L", "Command-L"),
|
||||
exec: function(editor) {
|
||||
var line = parseInt(prompt("Enter line number:"));
|
||||
if (!isNaN(line)) {
|
||||
|
|
@ -91,12 +91,12 @@ exports.commands = [{
|
|||
readOnly: true
|
||||
}, {
|
||||
name: "findnext",
|
||||
bindKey: bindKey("Ctrl-R", "Command-G"),
|
||||
bindKey: bindKey("Ctrl-K", "Command-G"),
|
||||
exec: function(editor) { editor.findNext(); },
|
||||
readOnly: true
|
||||
}, {
|
||||
name: "findprevious",
|
||||
bindKey: bindKey("Ctrl-Shift-R", "Command-Shift-G"),
|
||||
bindKey: bindKey("Ctrl-Shift-K", "Command-Shift-G"),
|
||||
exec: function(editor) { editor.findPrevious(); },
|
||||
readOnly: true
|
||||
}, {
|
||||
|
|
@ -275,7 +275,7 @@ exports.commands = [{
|
|||
exec: function(editor) { editor.toggleCommentLines(); }
|
||||
}, {
|
||||
name: "replace",
|
||||
bindKey: bindKey("Ctrl-H", "Command-Option-F"),
|
||||
bindKey: bindKey("Ctrl-R", "Command-Option-F"),
|
||||
exec: function(editor) {
|
||||
var needle = prompt("Find:", editor.getCopyText());
|
||||
if (!needle)
|
||||
|
|
@ -287,7 +287,7 @@ exports.commands = [{
|
|||
}
|
||||
}, {
|
||||
name: "replaceall",
|
||||
bindKey: bindKey("Ctrl-Shift-H", "Command-Shift-Option-F"),
|
||||
bindKey: bindKey("Ctrl-Shift-R", "Command-Shift-Option-F"),
|
||||
exec: function(editor) {
|
||||
var needle = prompt("Find:");
|
||||
if (!needle)
|
||||
|
|
@ -366,7 +366,7 @@ exports.commands = [{
|
|||
}
|
||||
}, {
|
||||
name: "splitline",
|
||||
bindKey: bindKey("Ctrl-K", "Ctrl-O"),
|
||||
bindKey: bindKey(null, "Ctrl-O"),
|
||||
exec: function(editor) { editor.splitLine(); }
|
||||
}, {
|
||||
name: "transposeletters",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue