diff --git a/src/cursorless.py b/src/cursorless.py index d64791219d..9617f51593 100644 --- a/src/cursorless.py +++ b/src/cursorless.py @@ -1,4 +1,4 @@ -from talon import Module +from talon import Module, actions mod = Module() @@ -15,3 +15,9 @@ def private_cursorless_show_settings_in_ide(): def private_cursorless_show_sidebar(): """Show Cursorless-specific settings in ide""" + + def private_cursorless_show_command_statistics(): + """Show Cursorless command statistics""" + actions.user.private_cursorless_run_rpc_command_no_wait( + "cursorless.analyzeCommandHistory" + ) diff --git a/src/cursorless.talon b/src/cursorless.talon index d2fa383a64..f12bab8a3e 100644 --- a/src/cursorless.talon +++ b/src/cursorless.talon @@ -43,3 +43,6 @@ tag: user.cursorless bar {user.cursorless_homophone}: user.private_cursorless_show_sidebar() + +{user.cursorless_homophone} stats: + user.private_cursorless_show_command_statistics()