fix ctrl-r in sublime mode

pull/467/head
nightwing 2017-10-23 13:03:58 +04:00
rodzic e5f6d5c4a8
commit bf0c62eca5
2 zmienionych plików z 6 dodań i 13 usunięć

Wyświetl plik

@ -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();
});
}

Wyświetl plik

@ -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"},