Skip to content

Commit

Permalink
disable find (#7442)
Browse files Browse the repository at this point in the history
  • Loading branch information
jackkav committed May 22, 2024
1 parent e5ce4cd commit 0073992
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import CodeMirror, { EditorConfiguration } from 'codemirror';
import React, { forwardRef, useCallback, useEffect, useImperativeHandle, useRef } from 'react';
import { useMount, useUnmount } from 'react-use';

import { DEBOUNCE_MILLIS } from '../../../common/constants';
import { DEBOUNCE_MILLIS, isMac } from '../../../common/constants';
import * as misc from '../../../common/misc';
import { KeyCombination } from '../../../common/settings';
import { getTagDefinitions } from '../../../templating/index';
Expand Down Expand Up @@ -92,6 +92,7 @@ export const OneLineEditor = forwardRef<OneLineEditorHandle, OneLineEditorProps>
keyMap: !readOnly && settings.editorKeyMap ? settings.editorKeyMap : 'default',
extraKeys: CodeMirror.normalizeKeyMap({
'Ctrl-Space': 'autocomplete',
[isMac() ? 'Cmd-F' : 'Ctrl-F']: () => { },
}),
gutters: [],
mode: !handleRender ? 'text/plain' : {
Expand Down

0 comments on commit 0073992

Please sign in to comment.