kopia lustrzana https://github.com/c9/core
fix ctrl-r in sublime mode
rodzic
e5f6d5c4a8
commit
bf0c62eca5
|
@ -173,7 +173,7 @@ define(function(require, exports, module) {
|
|||
}
|
||||
|
||||
function normalize(str) {
|
||||
return str && str.replace(/(^|-| )(\w)/g, function(_, a, b) {
|
||||
return str && str.replace(/(^|-| |\|)(\w)/g, function(_, a, b) {
|
||||
return a + b.toUpperCase();
|
||||
});
|
||||
}
|
||||
|
|
|
@ -57,24 +57,14 @@ exports.ideKeymap = [
|
|||
bindKey: { mac: "cmd-t|cmd-p", win: "ctrl-p" },
|
||||
name: "navigate"
|
||||
}, {
|
||||
bindKey: { mac: "cmd-r", win: "ctrl-r" },
|
||||
bindKey: { mac: "cmd-r|cmd-shift-r", win: "ctrl-r|ctrl-shift-r" },
|
||||
name: "outline",
|
||||
args: { overlay: "goto", text: "@" }
|
||||
}, {
|
||||
bindKey: { mac: "cmd-shift-r", win: "ctrl-shift-r" },
|
||||
// todo: this should be project outline
|
||||
name: "outline"
|
||||
}, {
|
||||
bindKey: { mac: "ctrl-g", win: "ctrl-g" },
|
||||
name: "gotoline",
|
||||
args: { overlay: "goto", text: ":" }
|
||||
},
|
||||
// todo what is this?
|
||||
// {
|
||||
// bindKey: {win: "ctrl-;"},
|
||||
// name: "show_overlay",
|
||||
// args: {overlay: "goto", text: "#"}
|
||||
// },
|
||||
},
|
||||
{
|
||||
bindKey: { mac: "cmd-shift-p", win: "ctrl-shift-p" },
|
||||
name: "commands"
|
||||
|
@ -358,6 +348,9 @@ exports.ideKeymap = [
|
|||
}, {
|
||||
bindKey: { mac: "cmd-shift-f", win: "ctrl-shift-f" },
|
||||
name: "searchinfiles",
|
||||
}, {
|
||||
bindKey: { mac: "", win: "" },
|
||||
name: "restartc9",
|
||||
},
|
||||
// {
|
||||
// bindKey: {mac: "f4", win: "f4"},
|
||||
|
|
Ładowanie…
Reference in New Issue