Commands
macOS · Lokyr's commands and its bundled plugins'
Every action of Lokyr is a command, which a menu, a key, the command palette or a plugin runs. This page lists every command of Lokyr and of its bundled plugins, with its arguments and the keys that run it by default, so that you can bind keys of your own.
Bind a command to keys
In your config, [keys] binds keys to a command, and to its arguments:
[keys]
"ctrl+cmd+t" = "tabs.new" # a second key for a new tab
"ctrl+cmd+1" = { command = "tabs.goto", args = { index = 1 } } # the first tab
"cmd+d" = false # no split on ⌘D
Your keys win over the defaults below. The keys' section of the configuration guide tells how to write keys, arguments and contexts.
The keys below show as macOS writes them, then as the config writes them. A key that holds in a context only, such as while the palette is open, says so with while.
App
| Command | Title | Arguments | Default keys |
|---|---|---|---|
app.about | About Lokyr | ||
app.check-for-updates | Check for Updates… | ||
app.install-claude-code-integration | Install Claude Code Integration… | ||
app.install-command-line-tools | Install Command Line Tools… | ||
app.make-default-terminal | Make Lokyr the Default Terminal | ||
app.quit | Quit Lokyr | ⌘Q (cmd+q) | |
app.report-issue | Report an Issue… | ||
app.secure-keyboard-entry | Secure Keyboard Entry | ||
app.settings | Settings… | ⌘, (cmd+,) | |
app.settings-window | Open Settings Window | ||
plugin-manager.open | Plugins… | ||
quick-tips.show | Show a Tip |
Windows
| Command | Title | Arguments | Default keys |
|---|---|---|---|
command-palette.agents | Show Agents… | ⌥⇧⌘A (cmd+alt+shift+a) | |
command-palette.sessions | Switch Session… | ⌃⌘S (cmd+ctrl+s) | |
links.new-window | New Window at Folder | column, whole number; row, whole number | |
pane.man-page | Open man Page | ||
pane.man-search | Search man Page Index | ||
window.close | Close Window | ⇧⌘W (cmd+shift+w) | |
window.close-session | Close Session | ||
window.goto | Go to Window | index, whole number | ⌥⌘1 to ⌥⌘9 (cmd+alt+1 to cmd+alt+9), index 1 to 9 |
window.hide-quick-terminal | Hide Quick Terminal | ||
window.new | New Window | ⌘N (cmd+n) | |
window.new-session | New Session | ||
window.next | Cycle Through Windows | ⌘` (cmd+`) | |
window.next-agent | Go to Next Agent | ⌥⌘A (cmd+alt+a) | |
window.open-layout | Open Layout | name, text | |
window.previous | Cycle Back Through Windows | ⇧⌘` (cmd+shift+`) | |
window.rename-session | Rename Session… | ||
window.save-layout | Save Session as Layout… | ||
window.set-title | Set Title… | ⇧⌘I (cmd+shift+i) | |
window.show-quick-terminal | Show Quick Terminal | ||
window.switch-session | Switch to Session | name, text | |
window.switch-to-last-session | Switch to Last Session | ⌃⌘L (cmd+ctrl+l) | |
window.toggle-float-on-top | Float on Top | ||
window.toggle-quick-terminal | Quick Terminal |
Tabs
| Command | Title | Arguments | Default keys |
|---|---|---|---|
links.new-tab | New Tab at Folder | column, whole number; row, whole number | |
tabs.add-to-group | Add Tab to Group | group, whole number, 0 by default | |
tabs.close | Close Tab | ⌘W (cmd+w) | |
tabs.detach | Move Tab to New Window | ||
tabs.fold-group | Fold Group | ||
tabs.goto | Select Tab | index, whole number | ⌘1 to ⌘9 (cmd+1 to cmd+9), index 1 to 9 |
tabs.move | Move Tab | delta, whole number | ⇧⌘← (cmd+shift+left), delta = -1; ⇧⌘→ (cmd+shift+right), delta = 1 |
tabs.new | New Tab | ⌘T (cmd+t) | |
tabs.new-group | New Group with Tab | ||
tabs.next | Select Next Tab | ⇧⌘] (cmd+shift+]) | |
tabs.prev | Select Previous Tab | ⇧⌘[ (cmd+shift+[) | |
tabs.remove-from-group | Remove Tab from Group | ||
tabs.rename | Rename Tab… | title, text, "" by default | |
tabs.rename-group | Rename Group… | title, text, "" by default | |
tabs.reopen | Reopen Closed Tab | ⇧⌘T (cmd+shift+t) | |
tabs.set-color | Set Tab Color | color, text | |
tabs.set-group-color | Set Group Color | color, text | |
tabs.switch | Switch Tab | ⌃Tab (ctrl+tab) | |
tabs.switch-back | Switch Tab Back | ⌃⇧Tab (ctrl+shift+tab) | |
tabs.toggle-pin | Pin Tab | ||
tabs.ungroup | Ungroup |
Panes
| Command | Title | Arguments | Default keys |
|---|---|---|---|
pane.float | Float Pane | ||
pane.join-broadcast | Join Broadcast | ||
pane.leave-broadcast | Leave Broadcast | ||
pane.move-into-splits | Move Pane into Splits | ||
pane.new-floating | New Floating Pane | ⌥⇧⌘F (cmd+alt+shift+f) | |
pane.popup | Open Popup | command, text; folder, text, "" by default; width, number, 0.8 by default; height, number, 0.7 by default | |
pane.toggle-floating | Show or Hide Floating Panes | ⌥⌘F (cmd+alt+f) | |
splits.close | Close Pane | ||
splits.equalize | Equalize Panes | ||
splits.focus | Select Pane | direction, text | ⌥⌘← (cmd+alt+left), direction = "left"; ⌥⌘→ (cmd+alt+right), direction = "right"; ⌥⌘↑ (cmd+alt+up), direction = "up"; ⌥⌘↓ (cmd+alt+down), direction = "down" |
splits.focus-next | Select Next Pane | ⌘] (cmd+]) | |
splits.focus-prev | Select Previous Pane | ⌘[ (cmd+[) | |
splits.move-to-tab | Move Pane to New Tab | ||
splits.move-to-window | Move Pane to New Window | ||
splits.resize | Resize Pane | direction, text; cells, whole number, 1 by default | ⌃⌘← (cmd+ctrl+left), direction = "left"; ⌃⌘→ (cmd+ctrl+right), direction = "right"; ⌃⌘↑ (cmd+ctrl+up), direction = "up"; ⌃⌘↓ (cmd+ctrl+down), direction = "down" |
splits.split | Split Pane | direction, text | ⌘D (cmd+d), direction = "right"; ⇧⌘D (cmd+shift+d), direction = "down" |
splits.swap | Swap Pane | direction, text | |
splits.zoom-toggle | Zoom Pane | ⇧⌘Return (cmd+shift+enter) |
Input
| Command | Title | Arguments | Default keys |
|---|---|---|---|
pane.send-text | Send Text | text, text | |
window.broadcast-off | Stop Broadcasting Input | ||
window.broadcast-to-tab | Broadcast Input to the Tab's Panes | ⌥⌘I (cmd+alt+i) | |
window.broadcast-to-window | Broadcast Input to the Window's Panes | ⌥⇧⌘I (cmd+alt+shift+i) |
Clipboard
| Command | Title | Arguments | Default keys |
|---|---|---|---|
links.copy | Copy Link Address | column, whole number; row, whole number | |
pane.copy | Copy | ⌘C (cmd+c) | |
pane.copy-output | Copy Command Output | column, whole number, -1 by default; row, whole number, -1 by default | ⌥⇧⌘C (cmd+alt+shift+c) |
pane.paste | Paste | ⌘V (cmd+v) |
Edit
| Command | Title | Arguments | Default keys |
|---|---|---|---|
copy-mode.act | Act in Copy Mode | action, text | o, action = "swap", while copy-mode.open && pane.focused; y, action = "copy", while copy-mode.open && pane.focused; Return (enter), action = "copy", while copy-mode.open && pane.focused; Y (shift+y), action = "copy-line", while copy-mode.open && pane.focused; Escape (escape), action = "back", while copy-mode.open && pane.focused; q, action = "exit", while copy-mode.open && pane.focused; ⌃C (ctrl+c), action = "exit", while copy-mode.open && pane.focused |
copy-mode.count | Count in Copy Mode | digit, whole number | 0 to 9, digit 0 to 9, while copy-mode.open && pane.focused |
copy-mode.move | Move in Copy Mode | to, text | h, to = "left", while copy-mode.open && pane.focused; ← (left), to = "left", while copy-mode.open && pane.focused; l, to = "right", while copy-mode.open && pane.focused; → (right), to = "right", while copy-mode.open && pane.focused; k, to = "up", while copy-mode.open && pane.focused; ↑ (up), to = "up", while copy-mode.open && pane.focused; j, to = "down", while copy-mode.open && pane.focused; ↓ (down), to = "down", while copy-mode.open && pane.focused; w, to = "word-next", while copy-mode.open && pane.focused; b, to = "word-previous", while copy-mode.open && pane.focused; e, to = "word-end", while copy-mode.open && pane.focused; W (shift+w), to = "big-word-next", while copy-mode.open && pane.focused; B (shift+b), to = "big-word-previous", while copy-mode.open && pane.focused; E (shift+e), to = "big-word-end", while copy-mode.open && pane.focused; Home (home), to = "line-start", while copy-mode.open && pane.focused; ⇧6 (shift+6), to = "line-first", while copy-mode.open && pane.focused; ⇧4 (shift+4), to = "line-end", while copy-mode.open && pane.focused; End (end), to = "line-end", while copy-mode.open && pane.focused; g g (g>g), to = "top", while copy-mode.open && pane.focused; G (shift+g), to = "bottom", while copy-mode.open && pane.focused; H (shift+h), to = "view-top", while copy-mode.open && pane.focused; M (shift+m), to = "view-middle", while copy-mode.open && pane.focused; L (shift+l), to = "view-bottom", while copy-mode.open && pane.focused; ⌃U (ctrl+u), to = "half-page-up", while copy-mode.open && pane.focused; ⌃D (ctrl+d), to = "half-page-down", while copy-mode.open && pane.focused; ⌃B (ctrl+b), to = "page-up", while copy-mode.open && pane.focused; Page Up (pageup), to = "page-up", while copy-mode.open && pane.focused; ⌃F (ctrl+f), to = "page-down", while copy-mode.open && pane.focused; Page Down (pagedown), to = "page-down", while copy-mode.open && pane.focused; ⇧[ (shift+[), to = "paragraph-previous", while copy-mode.open && pane.focused; ⇧] (shift+]), to = "paragraph-next", while copy-mode.open && pane.focused |
copy-mode.select | Select in Copy Mode | kind, text | v, kind = "cells", while copy-mode.open && pane.focused; V (shift+v), kind = "lines", while copy-mode.open && pane.focused; ⌃V (ctrl+v), kind = "block", while copy-mode.open && pane.focused |
copy-mode.toggle | Copy Mode | ⇧⌘C (cmd+shift+c) | |
pane.clear | Clear | ⌘K (cmd+k) | |
pane.look-up | Look Up | ||
pane.search-web | Search the Web | ||
pane.select-all | Select All | ⌘A (cmd+a) | |
pane.select-output | Select Command Output | column, whole number, -1 by default; row, whole number, -1 by default | ⇧⌘A (cmd+shift+a) |
Find
| Command | Title | Arguments | Default keys |
|---|---|---|---|
search.find-all | Find in All Tabs… | ⇧⌘F (cmd+shift+f) | |
search.move | Move in Find in All Tabs | delta, whole number | ↑ (up), delta = -1, while search.find-all.focused; ↓ (down), delta = 1, while search.find-all.focused |
search.next | Find Next | ⌘G (cmd+g) | |
search.open | Find… | text, text, "" by default; column, whole number, -1 by default; row, whole number, 0 by default | ⌘F (cmd+f) |
search.previous | Find Previous | ⇧⌘G (cmd+shift+g) |
View
| Command | Title | Arguments | Default keys |
|---|---|---|---|
app.appearance-dark | Dark Appearance | ||
app.appearance-light | Light Appearance | ||
app.appearance-system | Automatic Appearance | ||
app.import-themes | Import Themes… | ||
app.new-theme | New Theme from Current… | theme, text, "" by default; variant, text, "" by default | |
app.open-themes-folder | Open Themes Folder | ||
app.performance | Show Performance | ||
command-palette.move | Move in the Command Palette | delta, whole number | ↑ (up), delta = -1, while command-palette.focused; ↓ (down), delta = 1, while command-palette.focused |
command-palette.open | Command Palette… | ⇧⌘P (cmd+shift+p) | |
command-palette.theme | Choose Theme… | ||
font.bigger | Bigger | ⌘= (cmd+=); ⌘+ (cmd++) | |
font.reset | Default Size | ⌘0 (cmd+0) | |
font.smaller | Smaller | ⌘- (cmd+-) | |
links.hints | Show Hints | action, text, "open" by default | ⇧⌘E (cmd+shift+e) |
links.hints-action | Next Hint Action | delta, whole number | Tab (tab), delta = 1, while links.focused; ⇧Tab (shift+tab), delta = -1, while links.focused |
links.open | Open Link | column, whole number; row, whole number | ⌘-click (cmd+click) |
pane.prompt-next | Jump to Next Prompt | ⌘↓ (cmd+down) | |
pane.prompt-previous | Jump to Previous Prompt | ⌘↑ (cmd+up) | |
pane.scroll-bottom | Scroll to the Bottom | ⌘End (cmd+end) | |
pane.scroll-line-down | Scroll Down a Line | ⇧⌘↓ (cmd+shift+down) | |
pane.scroll-line-up | Scroll Up a Line | ⇧⌘↑ (cmd+shift+up) | |
pane.scroll-page-down | Scroll Down a Page | ⌘Page Down (cmd+pagedown); ⇧Page Down (shift+pagedown) | |
pane.scroll-page-up | Scroll Up a Page | ⌘Page Up (cmd+pageup); ⇧Page Up (shift+pageup) | |
pane.scroll-top | Scroll to the Top | ⌘Home (cmd+home) | |
window.toggle-cursor-guide | Show Cursor Guide | ⌥⌘; (cmd+alt+;) | |
window.toggle-opacity | Use Transparency | ⌘U (cmd+u) |
See also
- The default shortcuts
- The configuration guide, of the keys' section