From d7fca57c4747050d0b16ec4770ac7d6360c14cbb Mon Sep 17 00:00:00 2001 From: Krithic Kumar <30691152+jedi2610@users.noreply.github.com> Date: Wed, 15 Sep 2021 00:13:15 +0530 Subject: [PATCH] search processes using vim keybinds --- bpytop.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bpytop.py b/bpytop.py index 55c99ad..92bd944 100755 --- a/bpytop.py +++ b/bpytop.py @@ -4136,7 +4136,7 @@ class Menu: "(z)" : "Toggle totals reset for current network device", "(a)" : "Toggle auto scaling for the network graphs.", "(y)" : "Toggle synced scaling mode for network graphs.", - "(f)" : "Input a NON case-sensitive process filter.", + "(f, /)" : "Input a NON case-sensitive process filter.", "(shift+f)" : "Input a case-sensitive process filter.", "(c)" : "Toggle per-core cpu usage of processes.", "(r)" : "Reverse sorting order in processes box.", @@ -5444,7 +5444,7 @@ def process_keys(): elif key == "c": CONFIG.proc_per_core = not CONFIG.proc_per_core Collector.collect(ProcCollector, interrupt=True, redraw=True) - elif key in ["f", "F"]: + elif key in ["f", "F", "/"]: ProcBox.filtering = True ProcCollector.case_sensitive = key == "F" if not ProcCollector.search_filter: ProcBox.start = 0