mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-23 11:37:02 -04:00
removed the f9 shortcut to sort all lines in a pad (#814)
Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
parent
98ffd70fa4
commit
64edb05204
2 changed files with 6 additions and 3 deletions
|
@ -24,7 +24,7 @@ const esc = (editor: Editor): void | typeof Pass => {
|
|||
return CodeMirror.Pass
|
||||
}
|
||||
}
|
||||
const suppressSave = (): undefined => undefined
|
||||
const suppressKey = (): undefined => undefined
|
||||
const tab = (editor: Editor) => {
|
||||
const tab = '\t'
|
||||
|
||||
|
@ -69,9 +69,10 @@ const tab = (editor: Editor) => {
|
|||
|
||||
export const defaultKeyMap: KeyMap = !isMac
|
||||
? {
|
||||
F9: suppressKey,
|
||||
F10: f10,
|
||||
Esc: esc,
|
||||
'Ctrl-S': suppressSave,
|
||||
'Ctrl-S': suppressKey,
|
||||
Enter: 'newlineAndIndentContinueMarkdownList',
|
||||
Tab: tab,
|
||||
Home: 'goLineLeftSmart',
|
||||
|
@ -83,9 +84,10 @@ export const defaultKeyMap: KeyMap = !isMac
|
|||
'Ctrl-M': markSelection
|
||||
}
|
||||
: {
|
||||
F9: suppressKey,
|
||||
F10: f10,
|
||||
Esc: esc,
|
||||
'Cmd-S': suppressSave,
|
||||
'Cmd-S': suppressKey,
|
||||
Enter: 'newlineAndIndentContinueMarkdownList',
|
||||
Tab: tab,
|
||||
'Cmd-Left': 'goLineLeftSmart',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue