Repository navigation
Move through results with Super+J/K - #84
Open
nchudleigh wants to merge 1 commit into
Open
nchudleigh wants to merge 1 commit into
nchudleigh wants to merge 1 commit into
Conversation
Super+J/K move the selection down and up in every navigation mode, in the
list and in popups. Hyprland handles its own Super bindings before a client
sees the key (Omarchy binds Super+J, and users often bind Super+K/L), so
while the launcher is shown it dispatches hl.dsp.submap("omacast"), and
"reset" when it hides. `omacast setup hyprland` now defines that submap and
marks the launcher hotkey submap_universal so it still closes the launcher.
The submap also holds back Omarchy's universal editing keys, so the two that
mean something in the search field are handled directly: Super+V pastes into
the query and Super+Backspace clears it.
An omacast.lua written before this has no submap: Hyprland rejects the
dispatch and stays in its default submap, so nothing changes until setup
is rerun or the lines are added.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Super+J and Super+K move the selection down and up in the list and in popups, in every navigation mode.
Hyprland handles its own Super bindings before a client sees the key (Omarchy binds Super+J to toggle split, and people often bind Super+K/L), so these never reached the launcher.
hl.dsp.submap("omacast"), and"reset"when it hides or is destroyed while shown (omacast reload, disabling the plugin).omacast setup hyprlandnow defines that submap and marks the launcher hotkeysubmap_universal, so the hotkey still closes the launcher.An
omacast.luawritten before this has no submap. Hyprland rejects the dispatch, stays in its default submap and shows nothing, so nothing changes until setup is rerun or the lines are added. Setup won't rewrite an existing file.Trade-off: while the launcher is open, every other Hyprland binding (media and volume keys too) waits until it closes.
H/L have no left/right movement to drive here yet; they fit the emoji grid in #73.
Checked:
node --test tests/*.test.jsandomarchy plugin validate .pass.Not checked:
tests/smoke.shfails with "no layer event seen". It fails the same way onmainon this machine.🤖 Generated with Claude Code