GyulyVGC / sniffnet

Comfortably monitor your Internet traffic πŸ•΅οΈβ€β™‚οΈ

Home Page:https://sniffnet.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸ’» Suggest me keyboard shortcuts to add πŸ’»

GyulyVGC opened this issue Β· comments

I started introducing keyboard shortcuts to improve the efficiency of use and the overall user experience.

I have a few ideas about where to apply shortcuts but I'm unsure of the shortcut keys to be used, so feel free to give me some suggestions.

More shortcuts will be added and you can even suggest new ones.

Note

On macOS, use cmd instead of ctrl

Action Shortcut keys
Quit the application ctrl+Q
Open settings ctrl+,
Interrupt the ongoing analysis ctrl+backspace
Clear all notifications ctrl+D
Toggle thumbnail mode ctrl+T
Start the analysis and confirm modal actions enter
Close settings and modal popups esc
Switch from a tab to the next (or previous) one tab (or shift+tab)
Switch inspect table page to the next (or previous) one ctrl+rightArrow (or ctrl+leftArrow)
Increase (or decrease) zoom level ctrl++ (or ctrl+-)

For Open settings, how about ctrl+, (cmd+, on macOS)?
On mac, almost all apps open their settings using cmd + ,.
On windows, I don't know so much, but windows terminal use analogous ctrl + , to open "Open Windows Terminal Settings UI".

Hi @Rianico.
Thanks for your advice.
I think I'll implement your suggestion, since ctrl+S was kinda misleading because it's usually used to save something. Thank you!

Hi @Rianico. Thanks for your advice. I think I'll implement your suggestion, since ctrl+S was kinda misleading because it's usually used to save something. Thank you!

You're welcome. I would also like to thank you for this powerful project.

Made a suggestion in a self-standing issue to simplify discussion of this suggestion:

Bind the cmd/ctrl + - and cmd/ctrl + - shorcuts to increase decrease the zoom levels

  • Add shortcut to show keyboard shortcuts, the canonical one is cmd/ctrl + ? ~= (on US keyboard) cmd/ctrl + shift + /
  • Add shortcut to pause recording, once #551 is implemented, suggested shortcut cmd+enter or cmd+F (capital F for freeze)
  • Switching tabs "Overview", "Inspect", "Notifications" with shortcuts CMD+1/CMD+2/CMD+3