Skip to content

Keyboard Shortcuts ​

Complete reference for all keyboard shortcuts in Kassie.

TUI Shortcuts ​

Global (All Views) ​

KeyAction
?Show help screen
qQuit or go back to previous view
EscCancel current action or close dialog
Ctrl+CForce quit Kassie

Connection View ​

KeyAction
j or ↓Move down in profile list
k or ↑Move up in profile list
EnterConnect to selected profile
qQuit Kassie
KeyAction
j or ↓Navigate down
k or ↑Navigate up
h or ←Collapse keyspace/go up level
l or →Expand keyspace/enter
EnterSelect table or expand keyspace
/Focus search/filter input
Ctrl+FFocus search/filter input
EscClear search

Data Grid (Explorer View) ​

KeyAction
j or ↓Move to next row
k or ↑Move to previous row
h or ←Scroll left (previous columns)
l or →Scroll right (next columns)
EnterView row details in inspector
gGo to first row
GGo to last row
nNext page
pPrevious page
rRefresh data
/Open filter bar
Ctrl+FFocus search input
Ctrl+OOpen ad-hoc CQL query bar
Ctrl+NAsk a natural language question (translated to CQL via local agent CLI)
Ctrl+YBrowse query history
Ctrl+PBrowse saved queries
Ctrl+EExport loaded rows to JSON file
EStream full table export to CSV file

Query Bar (Ctrl+O) ​

KeyAction
EnterRun the query (SELECT-only, validated)
EscCancel and close query bar

Natural Language Panel (Ctrl+N) ​

KeyAction
EnterTranslate the question to CQL (shows preview)
EnterAccept the AI-generated CQL and load it (preview state)
Ctrl+PCycle the agent CLI provider (auto → opencode → claude → codex → gemini)
Ctrl+EEdit the model passed to the CLI (empty = CLI default)
EscDiscard the translation / close the panel

Query History / Saved List (Ctrl+Y / Ctrl+P) ​

KeyAction
j or ↓Next entry
k or ↑Previous entry
g / GFirst / last entry
EnterRun selected query
dDelete saved query (saved list only)
EscClose list

Filter Bar ​

KeyAction
EnterApply filter
EscCancel and close filter bar
Ctrl+UClear filter input
↑Previous filter from history
↓Next filter from history

Inspector Panel ​

KeyAction
j or ↓Scroll down one line
k or ↑Scroll up one line
h or ←Scroll left (horizontal)
l or →Scroll right (horizontal)
dPage down (20 lines)
uPage up (20 lines)
[Navigate to previous row
]Navigate to next row
tToggle display mode (Table/JSON)
iToggle fullscreen inspector mode
Ctrl+CCopy content to clipboard

Panel Navigation ​

KeyAction
TabSwitch to next panel (Sidebar → Grid → Inspector)
Shift+TabSwitch to previous panel
Ctrl+HFocus sidebar panel
Ctrl+LFocus grid panel
Ctrl+IFocus inspector panel
Ctrl+BCycle view mode (Full → No Sidebar → Grid Only → Inspector Only → Full)
Ctrl+FActivate search in current panel

Help View ​

KeyAction
j or ↓Scroll down one line
k or ↑Scroll up one line
dPage down (10 lines)
uPage up (10 lines)
gJump to top
GJump to bottom
q or EscClose help and return to explorer

Web UI Shortcuts ​

Global ​

KeyAction
?Show keyboard shortcuts help
/Focus filter bar
EscCancel/close current action
Ctrl+K or Cmd+KOpen command palette (keyspaces, saved queries, actions)
KeyAction
↑Navigate up in current context
↓Navigate down in current context
←Navigate left / collapse
→Navigate right / expand
EnterSelect/confirm action
TabSwitch between panels
KeyAction
↑/↓Navigate keyspaces/tables
←/→Collapse/expand keyspace
EnterSelect table
/Focus search box
sToggle sidebar visibility

Data Grid ​

KeyAction
↑/↓Navigate rows
←/→Scroll columns
EnterView row details
nNext page
pPrevious page
gFirst page
GLast page
rRefresh data
cCopy selected row

Inspector ​

KeyAction
↑/↓Scroll
EnterExpand/collapse node
EscClose inspector
iToggle inspector visibility
cCopy JSON

Filter Bar ​

KeyAction
EnterApply filter
EscCancel filter
↑/↓Navigate filter history
Ctrl+U or Cmd+UClear input

Vim Mode (TUI Only) ​

Enable Vim mode in config:

json
{
  "clients": {
    "tui": {
      "vim_mode": true
    }
  }
}

Additional Vim Bindings ​

KeyAction
hMove left (replaces ←)
jMove down (replaces ↓)
kMove up (replaces ↑)
lMove right (replaces →)
ggGo to first item
GGo to last item
0Go to line start
$Go to line end
wNext word
bPrevious word
:qQuit
/Search (already standard)
nNext search result
NPrevious search result

Mouse Support ​

TUI (Terminal Dependent) ​

Many modern terminals support mouse operations:

ActionResult
Click keyspaceExpand/collapse
Click tableSelect and load data
Click rowSelect row
Double-click rowView in inspector
Scroll wheelScroll current panel

INFO

Mouse support depends on your terminal emulator. Keyboard navigation always works.

Web UI ​

Full mouse support:

ActionResult
ClickSelect
Double-clickExpand/collapse or view details
DragResize panels
ScrollScroll content
Right-clickContext menu (where applicable)

Accessibility ​

Screen Reader Support (Web UI) ​

The Web UI supports screen readers with proper ARIA labels:

KeyAction
TabNavigate through interactive elements
Shift+TabNavigate backwards
Enter / SpaceActivate element

Focus Navigation ​

KeyAction
TabNext focusable element
Shift+TabPrevious focusable element
EscReturn focus to main area

Customization ​

Remapping (Future Feature) ​

Currently, keyboard shortcuts are not customizable. This feature is planned for a future release.

Tips ​

Efficient Navigation ​

TUI:

  • Use j/k for vertical, h/l for horizontal movement
  • g/G to jump to first/last items quickly
  • / for search is faster than scrolling

Web UI:

  • Learn ? to see all shortcuts
  • Use / to quickly filter without clicking
  • Tab to switch panels without mouse
  • Ctrl/Cmd+Enter in the CQL editor runs the query
  • Click any cell to open the cell inspector (full value, hex view for blobs)

TUI:

  • Ctrl+O to run an ad-hoc SELECT without leaving the keyboard
  • Ctrl+Y replays a recent query; Ctrl+P picks a saved one

Common Workflows ​

Quick table inspection:

  1. j/k to navigate to table
  2. Enter to select
  3. / to filter
  4. n/p to page through

Find specific record:

  1. Select table
  2. / for filter
  3. Type: id = 'value'
  4. Enter to apply

Browse multiple tables:

  1. Tab to sidebar
  2. j/k to next table
  3. Enter to load
  4. Repeat

Cheat Sheet ​

Print this cheat sheet for quick reference:

KASSIE KEYBOARD SHORTCUTS

Global:           Navigation:           Data Grid:
? - Help          j/k - Up/Down         Enter - Details
q - Quit          h/l - Left/Right      n/p - Next/Prev Page
Esc - Cancel      Tab - Switch Panel    r - Refresh
                  Ctrl+H/L/I - Focus    / - Filter

Panel Control:    Filter Bar:           Inspector:
Ctrl+B - Views    Enter - Apply         [/] - Prev/Next Row
Ctrl+F - Search   Esc - Cancel          h/l - Scroll Horiz
                  ↑/↓ - History         i - Fullscreen
                                        t - Toggle Mode
                                        Ctrl+C - Copy

Next Steps ​

Released under the MIT License.