Lokyr
Documentation

command-palette: the command palette

On this page

lokyr/command-palette · bundled · source

A panel near the top of the window that lists Lokyr's commands, the plugins' too, ranks them as you type, and runs the one you choose: a large search field, «Execute Command…», above a thin line and the list.

The palette

The theme picker

The agents' list

The sessions' switcher

Commands

CommandMenuDefault keysWhat it does
command-palette.openView › Command Palette…⇧⌘POpens the palette in the window that has the focus
command-palette.themeView › Choose Theme…Opens the theme picker, of the themes of the appearance in force
command-palette.agentsWindow › Show Agents…⌥⇧⌘AOpens the agents' list, of every window's AI agents, the most urgent first
command-palette.sessionsWindow › Sessions › Switch Session…⌃⌘SOpens the sessions' switcher, of the sessions open, then the folders of your config and your shells · Since 1.5
command-palette.move—↑, ↓ while command-palette.focusedMoves the list's selection, by its argument delta, a whole number of items

Turning it off

[plugins.command-palette]
enabled = false

The palette and its commands go, with their keys: ⇧⌘P then does nothing in Lokyr.

Permissions

It runs any command as yours, as the menus and the keys do, and reads the whole list of the commands, with each one's plugin, keys and context, and the menu bar's items: the capability user-commands, of a very high risk, as running any command can type into the shell. A palette of a third party would ask for it when you install it. Its theme picker previews and names a theme, of appearance-write. Its agents' list reads the agents of the panes, which tell the programs that run, of process-read, and brings a pane, its tab and its window forward, of workspace-write. Its sessions' switcher reads the folders where your shells worked, of process-read, and switches sessions or opens one, of workspace-write.