# Keyboard Shortcuts

Unless noted, Ctrl shortcuts also respond to Cmd on macOS.

## Global
Ctrl+H / Esc (Help open)       Toggle the help overlay
Ctrl+C                         Exit the application
Ctrl+Up / Ctrl+Down            Collapse or restore the input panes
Tab / Shift+Tab                Move focus between inputs, selectors, and results
Esc                            Close popups or step focus back (Filter -> Results -> Query)
q / r / t                      Focus the query editor, results table, or time range selector

## Running queries
Ctrl/Cmd/Alt+Enter             Run the current query from any context
Ctrl/Cmd+M / Ctrl/Cmd+J        Run the current query (terminal Enter equivalents)
Ctrl+R / F5                    Run the current query
Enter (From/To/Log group)      Run using the value in the focused single-line input
Enter (Relative range)         Run using the highlighted relative window

## Query files
Ctrl+S                         Save (always prompts for a file name under ./queries)
Ctrl+O                         Load a query file into the editor

## Time range
Space / Enter / Arrow keys     Toggle between relative and absolute range modes
Up / Down (Relative range)     Cycle the available relative windows
Up / Down (From/To in absolute)  Adjust the timestamp value

## AWS profile selector
Left / Right / Up / Down       Move between available AWS profiles

## Results list
Enter                          Enter or exit row navigation; open or close the detail modal
Up / Down                      Move the highlighted row
PageUp / PageDown              Page through the results
h                              Open the column picker modal
x                              Exit row navigation or close the detail modal

## Column picker
Up / Down                      Move the highlighted column
Space                          Toggle inclusion of the highlighted column
Enter                          Apply the column selection
Esc                            Cancel column changes

## Row detail modal
c / C                          Copy the row details to the clipboard
Esc                            Close the detail modal

## Filtering
/ (in results)                 Move focus to the filter box
Enter (in filter)              Apply the filter and return to results

Filter tokens accept case-insensitive +include and -exclude terms.
Example: +error +timeout -debug
