mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-11 23:52:19 -05:00
60370d5227
GitOrigin-RevId: ff937418be5092b2b5197435e9cd60bc61f41b2c
16 lines
253 B
TypeScript
16 lines
253 B
TypeScript
import { foldAll, toggleFold, unfoldAll } from '@codemirror/language'
|
|
|
|
export const foldingKeymap = [
|
|
{
|
|
key: 'F2',
|
|
run: toggleFold,
|
|
},
|
|
{
|
|
key: 'Alt-Shift-1',
|
|
run: foldAll,
|
|
},
|
|
{
|
|
key: 'Alt-Shift-0',
|
|
run: unfoldAll,
|
|
},
|
|
]
|