Remove hooks fully, replace with commands again

This commit is contained in:
Krzosa Karol
2026-01-15 22:41:16 +01:00
parent 61fc0cd339
commit 5ab20ce8ab
14 changed files with 167 additions and 201 deletions
+1 -1
View File
@@ -124,7 +124,7 @@ void UpdateFuzzySearchView() {
}
void SetFuzzy(View *view) {
AddCommand(&view->hooks, "Open", "ctrl-q | enter | f12", [](HookParam){
AddCommand(&view->commands, "Open", "ctrl-q | enter | f12", [](){
BSet active = GetBSet(ActiveWindowID);
BSet main = GetBSet(PrimaryWindowID);
NextActiveWindowID = main.window->id;