Show recent Keypirinha history directly in Run mode when the search box is
empty — no Backspace out of History mode needed.
Keypirinha's core is closed-source (the
Keypirinha/Keypirinha repo is only
a README). Alt+Space bound to hotkey_history forces you into History scope,
where typing only filters history until you press Backspace.
This package takes the open-source route: a Python plugin that suggests your
most recent history items on empty input in normal Run mode
(hotkey_run = Alt+Space), ready to type immediately.
- ✅ Slice 1: fork + discovery (core closed,
Keypirinha.historyJSON understood) - ✅ Slice 2: probe — proved the core never calls plugins on empty Run input
(log: plugin loads, zero
on_suggestcalls), so true history-on-empty is impossible without core source. Probe retired. - ▶ Slice 3 (this commit): keyword plugin —
Alt+Space,h,Tabshows the most-recent launchable history items,Enterruns one via shell-execute. - ⬜ Slice 4: polish (
max_items,history_pathoverride — both already inhistoryonempty.ini— plusms-settings:/shell:targets if wanted)
- Keypirinha tray icon →
Reload Configuration Alt+Space, typeh, pressTab→ recent launches, most recent first- Type to filter (e.g.
h,Tab,brav→ Brave),↑/↓,Enterto launch - Use
Tab, notSpace, to enter the keyword —space_as_tabstays off so multi-word searches likefile explorerkeep working
Covered: apps and files (.lnk, .exe, URLs). Skipped for now: internal
commands (restart), ms-settings: pages, shell:AppsFolder apps — the
launcher helper validates local existence first, so those targets can't go
through it (see _launchable).
# link live package into the portable profile, then Reload Configuration
New-Item -ItemType SymbolicLink `
-Path "D:\softwares\keypirinha-2.26-x64-portable\Keypirinha\portable\Profile\Packages\HistoryOnEmpty" `
-Target "D:\softwares\Keypirinha-HistoryOnEmpty\HistoryOnEmpty"Then in Keypirinha: tray icon → Reload Configuration, press F2 for the
Console, Alt+Space with an empty box → expect
PROBE: empty hook works + empty input hook FIRED in the log.
-
Alt+Spaceempty → probe item visible, noBackspaceneeded - Typing anything → probe item disappears (normal search unaffected)
- Console (F2) shows
HistoryOnEmpty probelines - Existing tests/build unaffected (no core changes — plugin only)