Skip to main content

Hotkeys

Generated from packages/kit/shell/shortcuts.ts by packages/kit/shell/keymap.test.ts (KEYMAP_WRITE=1 rewrites it).

The user's hotkeys are the window setting taji.keys: {"<id>": "<chord>" | null} over the defaults below. A chord is the table's glyphs, modifiers in the order ⌃ ⌘ ⌥ ⇧, then the key, one space apart ("⌘ ⇧ K", "⌃ ⌥ T"); null leaves the command no key. Change them only when the user asks:

  1. read {route: "read/ui/settings"} and take taji.keys (absent is {}).
  2. Post the whole map with the change merged: call {route: "verb/ui/settings/set", body: {key: "taji.keys", value: {...}}}. It is held for the user's approval in Taji's window; say so. value: null restores every default.
  3. A chord another command holds: set that command to null in the same map and tell the user it lost its key.

An entry that cannot apply does nothing and shows as an error on its row in the window's shortcuts (⌘/): a row marked no, an unknown id, more than one chord, a chord a fixed row holds, Tab, ⇧ Tab, ↵, Esc, ⌘ Q, ⌘ H, ⌘ ⌥ H, ⌘ M, ⌘ ⇧ W, ⌘ `, ⌘ Tab and ⌘ Space (reserved), a key that types without ⌘, ⌃ or ⌥, and a window command (closePane, newLayout, splitRight, newConversation, search, voice) without ⌘, and a ⌃ chord on a command the window routes (prompt, fullscreen, dock, bar, shortcutsAsk, newConversation, search, layoutNext, layoutPrev, maximize, closePane, splitRight, newLayout, chartNext, chartPrev, indicators, symbol, undo, redo, redoY, alert, ticket, voice). ⌃ is Ctrl, ⌘ is Ctrl, ⌥ is Alt and ⇧ is Shift off a Mac.

GroupIdDefaultDoesChangeable
Windowprompt⌘ KAsk the agentyes
Windowfullscreen⇧ FFullscreen modeyes
Windowdock⌘ ⌥ BShow the dockyes
WindowdockApp⌥ 1–9Open the dock's appno: Each dock app has its own number
Windowbar⌘ BShow or hide the sidebaryes
Windowsettings⌘ ,Open Connectionsno: The app menu names it
Windowshortcuts⌘ /Keyboard shortcutsno: The app menu names it
WindowshortcutsAsk?Keyboard shortcutsyes
WindownewConversation⌘ NNew conversationyes
Windowsearch⌘ FSearch desks and conversationsyes
WindowescapeEscCancel, close the topmost popup, or leave a page for the deskno: Esc always cancels
LayoutlayoutNext⌘ ⌥ →Next layoutyes
LayoutlayoutPrev⌘ ⌥ ←Previous layoutyes
Layoutmaximize⌥ ↵Maximize the paneyes
LayoutclosePane⌘ WClose paneyes
LayoutsplitRight⌘ \Split rightyes
LayoutnewLayout⌘ TNew layoutyes
LayoutchartNextF6Next chartyes
LayoutchartPrev⇧ F6Previous chartyes
LayoutlayoutMenu↓Open the tab's menuno: Its list owns its keys
LayoutmaximizeDoubleDouble clickMaximize the paneno: A pointer gesture
LayoutcollapseDouble⌘ Double clickCollapse or restore the paneno: A pointer gesture
Chartinterval1–9Change intervalno: A digit or comma opens the interval box only on the chart
ChartintervalComma,Change intervalno: A digit or comma opens the interval box only on the chart
Chartindicators/Indicatorsyes
Chartsymbol⌘ ⇧ TChange symbolyes
Chartundo⌘ ZUndoyes
Chartredo⌘ ⇧ ZRedoyes
ChartredoY⌘ YRedoyes
Chartalert⌥ ACreate alertyes
ChartpanLeft←Scroll left a baryes
ChartpanRight→Scroll right a baryes
ChartpanLeftFar⌘ ←Scroll left a tenth of the screenyes
ChartpanRightFar⌘ →Scroll right a tenth of the screenyes
ChartpanLeftAlt⌥ ←Scroll left a tenth of the screenyes
ChartpanRightAlt⌥ →Scroll right a tenth of the screenyes
ChartfirstBar⌥ ⇧ ←Scroll to the first baryes
ChartlastBar⌥ ⇧ →Scroll to the latest baryes
ChartzoomIn⌘ ↑Zoom inyes
ChartzoomOut⌘ ↓Zoom outyes
ChartcrossLeft⇧ ←Crosshair one bar leftyes
ChartcrossRight⇧ →Crosshair one bar rightyes
ChartcrossFirstHomeCrosshair to the first bar on screenyes
ChartcrossLastEndCrosshair to the last bar on screenyes
ChartresetView⌥ RReset chart viewyes
ChartresetTime⌘ ⌥ QReset the time scaleyes
ChartgoTo⌥ GGo to dateyes
Chartnote⌥ NAdd text noteyes
Chartwatch⌥ WAdd to watchlistyes
Chartsession⌥ ⇧ ESwitch sessionyes
ChartpercentScale⌥ PPercentage scaleyes
ChartlogScale⌥ LLog scaleyes
ChartinvertScale⌥ IInvert scaleyes
ChartstarIndicator⇧ ↵Add to or remove from favoritesno: Its list owns its keys
ChartautoTimeframe⌘ Double tapAuto timeframeno: A pointer gesture
ChartscrollZoom⌥ ScrollZoom without switching timeframeno: A pointer gesture
DrawingtrendTool⌥ TTrendlineyes
DrawingfibTool⌥ FFib retracementyes
DrawingrectTool⌥ ⇧ RRectangleyes
Drawinghline⌥ HHorizontal lineyes
Drawinghray⌥ JHorizontal rayyes
Drawingvline⌥ VVertical lineyes
Drawingcrossline⌥ CCrosslineyes
DrawinghideDrawings⌃ ⌥ HHide drawingsyes
Drawingremove⌫Remove the selected drawingyes
DrawingremoveDelDelRemove the selected drawingyes
Drawingcopy⌘ CCopy drawingyes
Drawingcut⌘ XCut drawingyes
Drawingpaste⌘ VPaste drawingyes
DrawingcloneDrag⌘ DragClone the drawingno: A pointer gesture
Tradingticket⇧ TOrder ticketyes
Tradingdom⇧ DDepth of marketyes
Tradingbuy⇧ BBuy at marketyes
Tradingsell⇧ SSell at marketyes
TradingbuyLimit⌥ ⇧ BBuy limit at the crosshairyes
TradingsellLimit⌥ ⇧ SSell limit at the crosshairyes
WatchlistlistNext↓Next symbolno: Its list owns its keys
WatchlistlistPrev↑Previous symbolno: Its list owns its keys
WatchlistlistExtendDown⇧ ↓Extend the selection downno: Its list owns its keys
WatchlistlistExtendUp⇧ ↑Extend the selection upno: Its list owns its keys
WatchlistlistAll⌘ ASelect all symbolsno: Its list owns its keys
WatchlistlistNoneEscClear the selectionno: Its list owns its keys
WatchlistlistFlag⌥ ↵Flag or unflagno: Its list owns its keys
WatchlistlistRemove⌫Remove the selected symbolsno: Its list owns its keys
Watchlistwatchlists⇧ WWatchlistsno: Its list owns its keys
WatchlistaddAndClose⇧ ClickAdd the symbol and close the searchno: Its list owns its keys
WatchlistaddAndCloseEnter⇧ ↵Add the symbol and close the searchno: Its list owns its keys
AgentstopTurnEscStop the agent's turnno: Its list owns its keys
AgentsteerTabSend after the running turnno: Its list owns its keys
Agentmode⇧ TabNext modeno: Its list owns its keys
AgentallowOnce⌘ YAllowno: Its list owns its keys
AgentallowAlways⌘ ⌥ YAlways allowno: Its list owns its keys
Agentreject⌘ ⌥ ZRejectno: Its list owns its keys
Agentvoice⌘ ⇧ VVoice on or offyes
AgentvoiceMic⌥ MMute or unmute the microphoneno: Its list owns its keys
AgentvoiceSound⌥ ⇧ MMute or unmute the voiceno: Its list owns its keys