|
345 | 345 | "title": "Convert Current Abbreviation", |
346 | 346 | "description": "Converts the current abbreviation (e.g. \\lam)." |
347 | 347 | }, |
| 348 | + { |
| 349 | + "command": "lean4.input.findSymbol", |
| 350 | + "category": "Lean 4: Input", |
| 351 | + "title": "Find Unicode Symbol…", |
| 352 | + "description": "Opens a dialog to search Unicode abbreviations and lets the user choose to copy or insert the chosen symbol." |
| 353 | + }, |
| 354 | + { |
| 355 | + "command": "lean4.input.insertSymbol", |
| 356 | + "category": "Lean 4: Input", |
| 357 | + "title": "Insert Unicode Symbol…", |
| 358 | + "description": "Opens a dialog to search Unicode abbreviations and inserts the chosen symbol into the active editor." |
| 359 | + }, |
| 360 | + { |
| 361 | + "command": "lean4.input.copySymbol", |
| 362 | + "category": "Lean 4: Input", |
| 363 | + "title": "Copy Unicode Symbol…", |
| 364 | + "description": "Opens a dialog to search Unicode abbreviations and copies the chosen symbol to the clipboard." |
| 365 | + }, |
348 | 366 | { |
349 | 367 | "command": "lean4.displayGoal", |
350 | 368 | "category": "Lean 4: InfoView", |
|
854 | 872 | "mac": "tab", |
855 | 873 | "when": "editorTextFocus && lean4.input.isActive" |
856 | 874 | }, |
| 875 | + { |
| 876 | + "command": "lean4.input.insertSymbol", |
| 877 | + "key": "ctrl+alt+\\", |
| 878 | + "mac": "cmd+alt+\\", |
| 879 | + "when": "editorTextFocus" |
| 880 | + }, |
| 881 | + { |
| 882 | + "command": "lean4.input.copySymbol", |
| 883 | + "key": "ctrl+alt+\\", |
| 884 | + "mac": "cmd+alt+\\", |
| 885 | + "when": "!editorTextFocus" |
| 886 | + }, |
857 | 887 | { |
858 | 888 | "command": "lean4.restartFile", |
859 | 889 | "key": "ctrl+shift+x", |
|
967 | 997 | "command": "lean4.input.convert", |
968 | 998 | "when": "lean4.isLeanFeatureSetActive && lean4.input.isActive" |
969 | 999 | }, |
| 1000 | + { |
| 1001 | + "command": "lean4.input.findSymbol" |
| 1002 | + }, |
| 1003 | + { |
| 1004 | + "command": "lean4.input.insertSymbol", |
| 1005 | + "when": "lean4.input.isTextEditorActive" |
| 1006 | + }, |
| 1007 | + { |
| 1008 | + "command": "lean4.input.copySymbol" |
| 1009 | + }, |
970 | 1010 | { |
971 | 1011 | "command": "lean4.displayGoal", |
972 | 1012 | "when": "lean4.isLeanFeatureSetActive" |
|
1270 | 1310 | "group": "3_infoview@1" |
1271 | 1311 | }, |
1272 | 1312 | { |
1273 | | - "command": "lean4.loogle.search", |
| 1313 | + "command": "lean4.input.findSymbol", |
1274 | 1314 | "when": "config.lean4.alwaysShowTitleBarMenu || lean4.isLeanFeatureSetActive", |
1275 | 1315 | "group": "4_search@1" |
1276 | 1316 | }, |
| 1317 | + { |
| 1318 | + "command": "lean4.loogle.search", |
| 1319 | + "when": "config.lean4.alwaysShowTitleBarMenu || lean4.isLeanFeatureSetActive", |
| 1320 | + "group": "4_search@2" |
| 1321 | + }, |
1277 | 1322 | { |
1278 | 1323 | "command": "lean4.troubleshooting.showTroubleshootingGuide", |
1279 | 1324 | "when": "config.lean4.alwaysShowTitleBarMenu || lean4.isLeanFeatureSetActive", |
|
0 commit comments