Skip to content

Commit 47e0a82

Browse files
authored
Merge pull request #2746 from BoostIO/fix-go-to-eol-on-mac
Fix Cmd+Left to go to end of line on Mac
2 parents d848ee5 + 64abd56 commit 47e0a82

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

browser/components/CodeEditor.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,9 @@ export default class CodeEditor extends React.Component {
178178
}
179179
}
180180
},
181+
'Cmd-Left': function (cm) {
182+
cm.execCommand('goLineLeft')
183+
},
181184
'Cmd-T': function (cm) {
182185
// Do nothing
183186
},

0 commit comments

Comments
 (0)