<prefix>-space change layout
<prefix>-} <prefix>-{ move pane
-; move between panes
<prefix>-space change layout
<prefix>-} <prefix>-{ move pane
-; move between panes
| async function withMeasure<T>(label: string = 'Measurement', fn: () => Promise<T>) { | |
| function bytes2MB(bytes: number): number { | |
| return bytes / (1024 * 1024) | |
| } | |
| const pstart = performance.now() | |
| const mstart = process.memoryUsage().heapUsed | |
| const result = await fn() |
| function randomBoolean() { | |
| return Math.random() < 0.5; | |
| } | |
| function chunkArray<T>(array: T[], chunkSize: number): T[][] { | |
| return Array.from( | |
| { length: Math.ceil(array.length / chunkSize) }, | |
| (_, index) => array.slice(index * chunkSize, (index + 1) * chunkSize), | |
| ); | |
| } |
| { | |
| "keyMappings": "# Insert your preferred key mappings here.\nmap e scrollPageUp", | |
| "linkHintCharacters": "asdfqwerzxcv", | |
| "regexFindMode": true, | |
| "smoothScroll": false, | |
| "settingsVersion": "2.1.2", | |
| "exclusionRules": [ | |
| { | |
| "passKeys": "", | |
| "pattern": "https?://mail.google.com/*" |