We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a84559 commit a0547b7Copy full SHA for a0547b7
keymap/sublime.js
@@ -52,8 +52,10 @@
52
});
53
}
54
55
- cmds[map["Alt-Left"] = "goSubwordLeft"] = function(cm) { moveSubword(cm, -1); };
56
- cmds[map["Alt-Right"] = "goSubwordRight"] = function(cm) { moveSubword(cm, 1); };
+ var goSubwordCombo = mac ? "Ctrl-" : "Alt-";
+
57
+ cmds[map[goSubwordCombo + "Left"] = "goSubwordLeft"] = function(cm) { moveSubword(cm, -1); };
58
+ cmds[map[goSubwordCombo + "Right"] = "goSubwordRight"] = function(cm) { moveSubword(cm, 1); };
59
60
if (mac) map["Cmd-Left"] = "goLineStartSmart";
61
0 commit comments