File tree Expand file tree Collapse file tree 2 files changed +22
-0
lines changed Expand file tree Collapse file tree 2 files changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,8 @@ export const DEFAULT_CONFIG = {
31
31
toggleMode : OSX ? 'Command + Alt + M' : 'Ctrl + M' ,
32
32
deleteNote : OSX ? 'Command + Shift + Backspace' : 'Ctrl + Shift + Backspace' ,
33
33
pasteSmartly : OSX ? 'Command + Shift + V' : 'Ctrl + Shift + V' ,
34
+ insertDate : OSX ? 'Command + /' : 'Ctrl + /' ,
35
+ insertDateTime : OSX ? 'Command + Alt + /' : 'Ctrl + Shift + /' ,
34
36
toggleMenuBar : 'Alt'
35
37
} ,
36
38
ui : {
Original file line number Diff line number Diff line change @@ -173,6 +173,26 @@ class HotkeyTab extends React.Component {
173
173
/>
174
174
</ div >
175
175
</ div >
176
+ < div styleName = 'group-section' >
177
+ < div styleName = 'group-section-label' > { i18n . __ ( 'Insert Current Date' ) } </ div >
178
+ < div styleName = 'group-section-control' >
179
+ < input styleName = 'group-section-control-input'
180
+ value = { config . hotkey . insertDate }
181
+ type = 'text'
182
+ disabled = 'true'
183
+ />
184
+ </ div >
185
+ </ div >
186
+ < div styleName = 'group-section' >
187
+ < div styleName = 'group-section-label' > { i18n . __ ( 'Insert Current Date and Time' ) } </ div >
188
+ < div styleName = 'group-section-control' >
189
+ < input styleName = 'group-section-control-input'
190
+ value = { config . hotkey . insertDateTime }
191
+ type = 'text'
192
+ disabled = 'true'
193
+ />
194
+ </ div >
195
+ </ div >
176
196
< div styleName = 'group-control' >
177
197
< button styleName = 'group-control-leftButton'
178
198
onClick = { ( e ) => this . handleHintToggleButtonClick ( e ) }
You can’t perform that action at this time.
0 commit comments