Hotkeys
You can rebind seven global keys in the [hotkeys] table. Every other key is
fixed.
[hotkeys]home = "H"refresh = "ctrl-r"Each value is one key:
- A single character, case preserved:
"H"isShift-H,"h"ish. ctrl-and one character:"ctrl-r".
nuvem recognizes names such as "enter" or "esc" only so that validation
can refuse them.
| action | default key |
|---|---|
home |
h |
configurations |
c |
resources |
g |
refresh |
r |
help |
? |
quit |
q |
command_palette |
: |
Keys you cannot use
Section titled “Keys you cannot use”Validation refuses these as a hotkey and says why:
| Key | Why |
|---|---|
| Esc, Enter, Tab, Shift-Tab, Backspace | Only single characters can be rebound. These keep their meaning in every form, dialog and filter. |
| Ctrl-C, Ctrl-X | nuvem handles them before any hotkey, so a binding would never fire. Ctrl-C quits. Ctrl-X cancels running plugins. |
| Ctrl-F, Ctrl-S, Ctrl-T | A binding would take over FinOps, saving logs, or Tunnels with no warning. |
Keys to avoid
Section titled “Keys to avoid”Validation accepts these keys. A hotkey bound to one of them takes the key away from what it did before, without a warning:
l(open Logging) andY(copy the last diagnostic).- A key the current view uses, such as
v(show or hide the sidebar in Resources). The hotkey wins in that view.
When a hotkey set is invalid
Section titled “When a hotkey set is invalid”nuvem checks the whole [hotkeys] table at startup and on
reload: unknown action names, keys it cannot parse, the keys
above, two actions on one key, and a set that leaves no way to reach quit or
help. If it finds any problem, it puts every hotkey back on its default key
and reports a warning. See Config problems.
The footer and the help overlay always show the keys in effect.
nuvem is released under the MIT License. The source is on GitHub.
nuvem is an independent project, not affiliated with or endorsed by Google. Google Cloud is a trademark of Google LLC.