mirror of https://github.com/status-im/codimd.git
Fix home and end keys behavior for windows
This commit is contained in:
parent
fe384d80bf
commit
2bdccd3996
|
@ -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 New Issue