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:
Philip Molares 2020-12-02 22:45:55 +01:00 committed by GitHub
parent 98ffd70fa4
commit 64edb05204
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 3 deletions

View file

@ -31,6 +31,7 @@ SPDX-License-Identifier: CC-BY-SA-4.0
- Alternative anchor URL formats
- Import HTML and convert to Markdown
- Import content from a url
- F9 shortcut to sort lines
### Added

View file

@ -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',