mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 09:46:22 +00:00
Changed "insert date & time" hotkey on mac from Shift-Cmd-/ to Alt-Cmd-/
This commit is contained in:
committed by
Junyoung Choi
parent
9fe9e1a1c4
commit
6b868658aa
@@ -220,7 +220,7 @@ export default class CodeEditor extends React.Component {
|
||||
const dateNow = new Date()
|
||||
cm.replaceSelection(dateNow.toLocaleString())
|
||||
},
|
||||
'Shift-Cmd-/': function (cm) {
|
||||
'Alt-Cmd-/': function (cm) {
|
||||
if (global.process.platform !== 'darwin') { return }
|
||||
const dateNow = new Date()
|
||||
cm.replaceSelection(dateNow.toLocaleString())
|
||||
|
||||
Reference in New Issue
Block a user