Every command has a stable id. The palette lists them all (greyed while refused); the keyboard runs the one a binding names; runCommand(jali, id) runs one from code. Rebind or unbind any of them with createJali({ keyboard: { keymap } }):

import { createJali } from "jali-layout";​createJali({ panes, layout, keyboard: { keymap: { "pane.close": "Mod+K Mod+X", "pane.split.down": null } } });

Mod is ⌘ on a Mac and Ctrl on Windows and Linux. A key written after a space is a second step: for ⌘K ⌘M, hold ⌘, press K, then M, keeping ⌘ held. ⌘K on its own opens the palette, with the palette() feature.

When a command is refused, its key is still taken. If the refusal has a reason, it is announced in the live region; "silent" below means it is not. While the palette, Settings or the chooser is open, only the palette's key works.

The titles below are for an instance with no curated page. With a curated page, "page" becomes the page's name; "Open …" uses createJali({ name }), and without a name the command reads "Leave" and the page's name.

CommandMacWindows, LinuxRefused when
Palette
palette.toggle
Open or close the command palette, and start a two-step chord
⌘KCtrl+KNever. Works with a dialog open too.
Focus
pane.focus.next
Focus next pane
F6F6Never. Visits every pane on screen in reading order, then the shelf (when shown) and any element marked data-pane-region, then wraps.
pane.focus.previous
Focus previous pane
⇧F6Shift+F6Never. The same cycle backwards.
pane.focus.left
Focus pane left
⌘K⌘←Ctrl+KCtrl+LeftSilent when no pane is focused. Does nothing when no pane lies to that side.
pane.focus.right
Focus pane right
⌘K⌘→Ctrl+KCtrl+RightSilent when no pane is focused. Does nothing when no pane lies to that side.
pane.focus.up
Focus pane up
⌘K⌘↑Ctrl+KCtrl+UpSilent when no pane is focused. Does nothing when no pane lies to that side.
pane.focus.down
Focus pane down
⌘K⌘↓Ctrl+KCtrl+DownSilent when no pane is focused. Does nothing when no pane lies to that side.
pane.focus.1
Focus pane 1
nonenoneNever refused. Does nothing when there are fewer panes on screen.
pane.focus.2
Focus pane 2
nonenoneNever refused. Does nothing when there are fewer panes on screen.
pane.focus.3
Focus pane 3
nonenoneNever refused. Does nothing when there are fewer panes on screen.
pane.focus.4
Focus pane 4
nonenoneNever refused. Does nothing when there are fewer panes on screen.
pane.focus.5
Focus pane 5
nonenoneNever refused. Does nothing when there are fewer panes on screen.
pane.focus.6
Focus pane 6
nonenoneNever refused. Does nothing when there are fewer panes on screen.
pane.focus.7
Focus pane 7
nonenoneNever refused. Does nothing when there are fewer panes on screen.
pane.focus.8
Focus pane 8
nonenoneNever refused. Does nothing when there are fewer panes on screen.
pane.focus.9
Focus pane 9
nonenoneNever refused. Does nothing when there are fewer panes on screen.
Pane
pane.zoom
Maximise or restore pane
⇧⌘↵or ⌘K⌘MCtrl+Shift+Enteror Ctrl+KCtrl+MIn a curated page in Single, with "Single shows one view: choose it from the tabs…". Silent when no pane is focused, or when only one pane is open and nothing is maximised.
pane.fullscreen
Full screen pane, or exit full screen
⌘K⌘FCtrl+KCtrl+FOn a curated page in Single view. Puts the focused pane on the whole screen, or takes it off.
pane.pop_out
Pop out pane
nonenoneOnly with the popOut() feature (jali-layout/pop-out). Silent when no pane is focused, or the browser can't pop out (Document Picture-in-Picture: Chrome and Edge on desktop). When the focused pane doesn't allow it, says so. Opens it in a floating window that stays on top.
pane.tuck
Tuck pane into its neighbour
⌘K⌘[Ctrl+KCtrl+[In Single, as for maximise. With no pane focused or recently focused: "No pane focused". A pane in a tab group, already tucked, or a tuck's home: "… is already a tab of …". Not on screen: "… is not on screen". The only pane open or on screen, or no neighbour to tuck into: "… can't be tucked".
pane.putBack
Put back tucked pane
⌘K⌘]Ctrl+KCtrl+]"Nothing is tucked" when no pane is tucked.
shelf.reveal
Show a pane from the shelf
nonenoneSilent when no pane is behind a tab (tucked, folded or an ordinary tab).
pane.resize_mode
Resize mode (arrows, then Esc)
⌘K⌘RCtrl+KCtrl+RSilent when no pane is focused. When the pane has no divider, the action says "Nothing to resize: this pane has no divider".
pane.close
Close pane
⌘K⌘⌫Ctrl+KCtrl+BackspaceSilent when no pane is focused. With only one pane open: "The last pane stays open"; in a curated page's Single view: "Single shows one view: choose it from the tabs…". In Split view a view is never closed: it goes back to the page tabs, refused with "… is the only view on screen" for the last one.
pane.close_others
Close other panes
nonenoneSilent when no pane is focused. With no other pane it may close: "There are no other panes to close". In a curated page it means Back to the page, refused with "Nothing opened beyond the page" when nothing was opened.
pane.undo_close
Undo last close or tuck
⌘K⌘ZCtrl+KCtrl+Z"Nothing to restore" when the undo stack is empty. Undoes the last close, close others or tuck.
pane.split.right
Split right (new pane)
⌘\Ctrl+\Silent when no pane is focused, or there is no launcher. Where the pane doesn't allow `open`: "Panes can't be opened from … here".
pane.split.down
Split down (new pane)
⌘K⌘\Ctrl+KCtrl+\Silent when no pane is focused, or there is no launcher. Where the pane doesn't allow `open`: "Panes can't be opened from … here".
pane.split.auto
Split auto (new pane, by shape)
nonenoneSilent when no pane is focused, or there is no launcher. Where the pane doesn't allow `open`: "Panes can't be opened from … here".
pane.rename
Rename pane
F2F2Only with the rename() feature (jali-layout/rename). Silent unless its `can` allows the focused pane. Opens the rename field on its tab or title.
Move
pane.move.left
Move pane left
⌘K⇧⌘←Ctrl+KCtrl+Shift+LeftSilent when no pane is focused. With only one pane, or no pane to that side: "… can't move left".
pane.move.right
Move pane right
⌘K⇧⌘→Ctrl+KCtrl+Shift+RightSilent when no pane is focused. With only one pane, or no pane to that side: "… can't move right".
pane.move.up
Move pane up
⌘K⇧⌘↑Ctrl+KCtrl+Shift+UpSilent when no pane is focused. With only one pane, or no pane to that side: "… can't move up".
pane.move.down
Move pane down
⌘K⇧⌘↓Ctrl+KCtrl+Shift+DownSilent when no pane is focused. With only one pane, or no pane to that side: "… can't move down".
pane.move.out
Move pane out of the row
nonenoneSilent unless the focused pane is in a row that scrolls sideways (`row({ scroll: "x" }, …)`). Takes it out beside the row, on the side it is nearer on screen: "… moved out of the row".
pane.swap
Swap with next pane
nonenoneSilent when no pane is focused or only one pane is open.
Tabs
pane.merge
Add to tabs of…
⌘K⌘GCtrl+KCtrl+GOnly with the chooser() feature (jali-layout/chooser). Silent when no pane is focused, or there is no other pane or stack on screen to join. Opens the "Add to tabs of…" chooser.
pane.unmerge
Move out of tabs
⌘K⇧⌘GCtrl+KCtrl+Shift+GSilent unless the focused pane is in a tab group made by the person (not one the layout folded).
tab.move.left
Move tab left
⌘K⇧PageUpCtrl+KShift+PageUpSilent unless the focused pane is a tab in a group made by the person or the app. At the start of the strip: "… is already the first tab".
tab.move.right
Move tab right
⌘K⇧PageDownCtrl+KShift+PageDownSilent unless the focused pane is a tab in a group made by the person or the app. At the end of the strip: "… is already the last tab".
stack.new-tab
New tab here
nonenoneSilent when no pane is focused, or there is no launcher. Where the pane doesn't allow `open`: "Panes can't be opened from … here".
Layout
layout.preset.<id>
Layout: Orders
nonenoneNever. One command per preset, titled "Layout: <label>".
layout.reset
Reset layout
nonenoneSilent without presets. Rebuilds the preset last chosen.
layout.auto
Arrange panes automatically
nonenoneOn a curated page, on a phone (one pane at a time), or with one pane. Arranges every pane from the room and the kinds' sizes; Back undoes it.
page.back
Back to page (close opened panes)
nonenoneSilent unless a curated page is open. With no panes opened from links: "Nothing opened beyond the page".
page.reset
Reset layout to its design
nonenoneSilent unless a curated page is open in Split view.
page.single
Single view: one view at a time
nonenoneSilent unless a curated page is open in Split view.
page.split
Split view: views side by side
nonenoneSilent unless a curated page is open in Single view.
page.open
Open page
nonenoneSilent while the page is open, or when there is no curated page.
page.leave
Open Notes
nonenoneSilent unless a curated page is open, and in a page-only app (no presets).
Peek
peek.close
Close peek
nonenoneSilent when no peek is open.
peek.open_beside
Open peek beside
nonenoneSilent when no peek is open. Where the pane the peek came from doesn't allow `open`: "Panes can't be opened from … here". In a curated page's Single view: "Single shows one view: choose it from the tabs…".
Settings
settings.open
Open settings
nonenoneOnly with the settings() feature (jali-layout/settings). Never refused there.
settings.centre_drop.toggle
Switch centre drop (swap ↔ tab)
nonenoneNever.
  • Esc, after the focused content has had it: closes the peek, else leaves maximise.
  • Resize mode (pane.resize_mode): the arrows move the divider nearest the pane on that side, Shift for bigger steps; Esc or Enter leaves.
  • In content marked data-pane-keys="content" (an editor), the instance takes only F6 and Shift+F6, so focus can always leave.
  • Single character keys, ⌘Z or Ctrl+Z, Enter, Space and the first Esc belong to the focused content. A binding of a single character key with no Mod, Ctrl or Alt is refused when the keymap is made.