We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df6464e commit b9d8e38Copy full SHA for b9d8e38
src/components/atoms/CodeEditor.tsx
@@ -7,14 +7,14 @@ import {
7
EditorIndentSizeOptions,
8
EditorKeyMapOptions,
9
} from '../../lib/preferences'
10
+import { osName } from '../../lib/platform'
11
12
const StyledContainer = styled.div`
13
.CodeMirror {
14
font-family: inherit;
15
}
16
17
.CodeMirror-dialog button {
- // font-size: 70%;
18
background-color: transparent;
19
cursor: pointer;
20
height: 26px;
@@ -82,7 +82,7 @@ class CodeEditor extends React.Component<CodeEditorProps> {
82
extraKeys: {
83
Enter: 'newlineAndIndentContinueMarkdownList',
84
Tab: 'indentMore',
85
- 'Alt-F': 'findPersistent',
+ [osName === 'macos' ? 'Cmd-Alt-F' : 'Ctrl-Alt-F']: 'findPersistent',
86
Esc: 'clearSearch',
87
},
88
})
0 commit comments