|
76 | 76 | " i : Install package\n" + |
77 | 77 | " u/ctrl-u : Upgrade package/with input\n" + |
78 | 78 | " r/ctrl-r : Remove package/with input\n" + |
79 | | - " s : Search package\n" + |
| 79 | + " s,/ : Search package\n" + |
80 | 80 | " g : Go to package (index)\n" + |
81 | 81 | " y : Confirm and execute the selected command\n" + |
82 | 82 | " p : Copy selected package name/information\n" + |
@@ -560,11 +560,11 @@ OSCheckLoop: |
560 | 560 | ui.Render(pkgGrid, cmdList) |
561 | 561 | scrollLists(lists, pkgIndex, -1, false) |
562 | 562 | /* Search, install, upgrade or go-to package. */ |
563 | | - case "s", "i", "<c-u>", "g", "<c-r>": |
| 563 | + case "s", "i", "<c-u>", "g", "<c-r>", "/": |
564 | 564 | /* Allow changing mode if not showing any package information. */ |
565 | 565 | if !showInfo { |
566 | 566 | /* Set variables for switching the mode. */ |
567 | | - pressedKey := str.NewReplacer("<c-", "", ">", ""). |
| 567 | + pressedKey := str.NewReplacer("<c-", "", ">", "", "/", "s"). |
568 | 568 | Replace(str.ToLower(e.ID)) |
569 | 569 | inputQuery = "" |
570 | 570 | for i, v := range pkgModes { |
|
0 commit comments