This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const WINDOW_MODIFIERS = ['alt']; | |
| const FRAME_TOLERANCE = 12; | |
| const TRAVERSAL_EXCLUDED_APP_NAMES = ['otty']; | |
| let windowTraversal; | |
| function focusedNormalWindow() { | |
| const window = Window.focused(); | |
| if (!window || !window.isNormal()) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const context = []; | |
| function subscribe(running, subscriptions) { | |
| subscriptions.add(running); | |
| running.dependencies.add(subscriptions); | |
| } | |
| export function createSignal(value) { | |
| const subscriptions = new Set(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| map h previousTab | |
| map l nextTab | |
| map J scrollPageDown | |
| map K scrollPageUp | |
| map . openQuickMark | |
| map d closeTab | |
| map u lastClosedTab | |
| unmap ; | |
| unmap ' |