lens icon indicating copy to clipboard operation
lens copied to clipboard

Epic: Keyboard shortcuts for many more actions

Open Nokel81 opened this issue 1 year ago • 3 comments

What would you like to be added: More keyboard shortcuts.

Such as:

  • Add new sync target for kubeconfigs (while viewing the catalog)
  • Scrolling pod logs
  • Creating/saving edits of kube resources
  • Switching between hotbar items
  • Tab flow for highlighting entries in kube lists
  • Opening and closing details panels
  • Tabbing through detail panels
  • Switching between resource views without having to go to the command pallet

Why is this needed: As a power user the keyboard is often more convenient that using the mouse. Especially for repetitive tasks.

Nokel81 avatar Apr 19 '23 15:04 Nokel81

Keep in mind that some of examples are not related to keyboard shortcuts. It's two different things to make navigating in the UI work seamlessly and having keyboard shortcuts to do certain actions.

jansav avatar Apr 20 '23 05:04 jansav

Two most commonly used tasks where keyboard shortcut can be of great help:

  • select namespace.
  • On pods page (scrolling thru pods list with up/down arrow)
    • this should work in conjunction with cmd+f currently filtered pods list
  • On pods page, shortcut for showing pod logs of currently highlight pod (by up/down arrow)

neeraj-ec avatar May 08 '24 09:05 neeraj-ec

@Nokel81 I really am in need for a keyboard shortcut for selecting the namespace to then type and switch namespace all using the keyboard.

I opened a new issue specifically for that https://github.com/lensapp/lens/issues/8078

I am more than happy to support in developing, testing nad shipping this shortcut with the next update. Let me know how can I help.

heiba avatar Aug 18 '24 04:08 heiba