Fix home and end keys behavior for windows
This commit is contained in:
parent
fe384d80bf
commit
2bdccd3996
1 changed files with 2 additions and 0 deletions
|
@ -74,6 +74,8 @@ export default class Editor {
|
|||
},
|
||||
'Cmd-Left': 'goLineLeftSmart',
|
||||
'Cmd-Right': 'goLineRight',
|
||||
'Home': 'goLineLeftSmart',
|
||||
'End': 'goLineRight',
|
||||
'Ctrl-C': function (cm) {
|
||||
if (!isMac && cm.getOption('keyMap').substr(0, 3) === 'vim') {
|
||||
document.execCommand('copy')
|
||||
|
|
Loading…
Reference in a new issue