Skip to content

Commit 90ef4bd

Browse files
vincentwoomarijnh
authored andcommitted
[sublime keymap] Use goLineStartSmart for cmd-left
1 parent 9389a05 commit 90ef4bd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

keymap/sublime.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@
5555
cmds[map["Alt-Left"] = "goSubwordLeft"] = function(cm) { moveSubword(cm, -1); };
5656
cmds[map["Alt-Right"] = "goSubwordRight"] = function(cm) { moveSubword(cm, 1); };
5757

58+
if (mac) map["Cmd-Left"] = "goLineStartSmart";
59+
5860
var scrollLineCombo = mac ? "Ctrl-Alt-" : "Ctrl-";
5961

6062
cmds[map[scrollLineCombo + "Up"] = "scrollLineUp"] = function(cm) {

0 commit comments

Comments
 (0)