Lokyr
Documentation

Commands

On this page

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

CommandTitleArgumentsDefault keys
app.aboutAbout Lokyr
app.check-for-updatesCheck for Updates…
app.install-claude-code-integrationInstall Claude Code Integration…
app.install-command-line-toolsInstall Command Line Tools…
app.make-default-terminalMake Lokyr the Default Terminal
app.quitQuit Lokyr⌘Q (cmd+q)
app.report-issueReport an Issue…
app.secure-keyboard-entrySecure Keyboard Entry
app.settingsSettings…⌘, (cmd+,)
app.settings-windowOpen Settings Window
plugin-manager.openPlugins…
quick-tips.showShow a Tip

Windows

CommandTitleArgumentsDefault keys
command-palette.agentsShow Agents…⌥⇧⌘A (cmd+alt+shift+a)
command-palette.sessionsSwitch Session…⌃⌘S (cmd+ctrl+s)
links.new-windowNew Window at Foldercolumn, whole number; row, whole number
pane.man-pageOpen man Page
pane.man-searchSearch man Page Index
window.closeClose Window⇧⌘W (cmd+shift+w)
window.close-sessionClose Session
window.gotoGo to Windowindex, whole number⌥⌘1 to ⌥⌘9 (cmd+alt+1 to cmd+alt+9), index 1 to 9
window.hide-quick-terminalHide Quick Terminal
window.newNew Window⌘N (cmd+n)
window.new-sessionNew Session
window.nextCycle Through Windows⌘` (cmd+`)
window.next-agentGo to Next Agent⌥⌘A (cmd+alt+a)
window.open-layoutOpen Layoutname, text
window.previousCycle Back Through Windows⇧⌘` (cmd+shift+`)
window.rename-sessionRename Session…
window.save-layoutSave Session as Layout…
window.set-titleSet Title…⇧⌘I (cmd+shift+i)
window.show-quick-terminalShow Quick Terminal
window.switch-sessionSwitch to Sessionname, text
window.switch-to-last-sessionSwitch to Last Session⌃⌘L (cmd+ctrl+l)
window.toggle-float-on-topFloat on Top
window.toggle-quick-terminalQuick Terminal

Tabs

CommandTitleArgumentsDefault keys
links.new-tabNew Tab at Foldercolumn, whole number; row, whole number
tabs.add-to-groupAdd Tab to Groupgroup, whole number, 0 by default
tabs.closeClose Tab⌘W (cmd+w)
tabs.detachMove Tab to New Window
tabs.fold-groupFold Group
tabs.gotoSelect Tabindex, whole number⌘1 to ⌘9 (cmd+1 to cmd+9), index 1 to 9
tabs.moveMove Tabdelta, whole number⇧⌘← (cmd+shift+left), delta = -1; ⇧⌘→ (cmd+shift+right), delta = 1
tabs.newNew Tab⌘T (cmd+t)
tabs.new-groupNew Group with Tab
tabs.nextSelect Next Tab⇧⌘] (cmd+shift+])
tabs.prevSelect Previous Tab⇧⌘[ (cmd+shift+[)
tabs.remove-from-groupRemove Tab from Group
tabs.renameRename Tab…title, text, "" by default
tabs.rename-groupRename Group…title, text, "" by default
tabs.reopenReopen Closed Tab⇧⌘T (cmd+shift+t)
tabs.set-colorSet Tab Colorcolor, text
tabs.set-group-colorSet Group Colorcolor, text
tabs.switchSwitch Tab⌃Tab (ctrl+tab)
tabs.switch-backSwitch Tab Back⌃⇧Tab (ctrl+shift+tab)
tabs.toggle-pinPin Tab
tabs.ungroupUngroup

Panes

CommandTitleArgumentsDefault keys
pane.floatFloat Pane
pane.join-broadcastJoin Broadcast
pane.leave-broadcastLeave Broadcast
pane.move-into-splitsMove Pane into Splits
pane.new-floatingNew Floating Pane⌥⇧⌘F (cmd+alt+shift+f)
pane.popupOpen Popupcommand, text; folder, text, "" by default; width, number, 0.8 by default; height, number, 0.7 by default
pane.toggle-floatingShow or Hide Floating Panes⌥⌘F (cmd+alt+f)
splits.closeClose Pane
splits.equalizeEqualize Panes
splits.focusSelect Panedirection, text⌥⌘← (cmd+alt+left), direction = "left"; ⌥⌘→ (cmd+alt+right), direction = "right"; ⌥⌘↑ (cmd+alt+up), direction = "up"; ⌥⌘↓ (cmd+alt+down), direction = "down"
splits.focus-nextSelect Next Pane⌘] (cmd+])
splits.focus-prevSelect Previous Pane⌘[ (cmd+[)
splits.move-to-tabMove Pane to New Tab
splits.move-to-windowMove Pane to New Window
splits.resizeResize Panedirection, 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.splitSplit Panedirection, text⌘D (cmd+d), direction = "right"; ⇧⌘D (cmd+shift+d), direction = "down"
splits.swapSwap Panedirection, text
splits.zoom-toggleZoom Pane⇧⌘Return (cmd+shift+enter)

Input

CommandTitleArgumentsDefault keys
pane.send-textSend Texttext, text
window.broadcast-offStop Broadcasting Input
window.broadcast-to-tabBroadcast Input to the Tab's Panes⌥⌘I (cmd+alt+i)
window.broadcast-to-windowBroadcast Input to the Window's Panes⌥⇧⌘I (cmd+alt+shift+i)

Clipboard

CommandTitleArgumentsDefault keys
links.copyCopy Link Addresscolumn, whole number; row, whole number
pane.copyCopy⌘C (cmd+c)
pane.copy-outputCopy Command Outputcolumn, whole number, -1 by default; row, whole number, -1 by default⌥⇧⌘C (cmd+alt+shift+c)
pane.pastePaste⌘V (cmd+v)

Edit

CommandTitleArgumentsDefault keys
copy-mode.actAct in Copy Modeaction, texto, 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.countCount in Copy Modedigit, whole number0 to 9, digit 0 to 9, while copy-mode.open && pane.focused
copy-mode.moveMove in Copy Modeto, texth, 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.selectSelect in Copy Modekind, textv, 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.toggleCopy Mode⇧⌘C (cmd+shift+c)
pane.clearClear⌘K (cmd+k)
pane.look-upLook Up
pane.search-webSearch the Web
pane.select-allSelect All⌘A (cmd+a)
pane.select-outputSelect Command Outputcolumn, whole number, -1 by default; row, whole number, -1 by default⇧⌘A (cmd+shift+a)

Find

CommandTitleArgumentsDefault keys
search.find-allFind in All Tabs…⇧⌘F (cmd+shift+f)
search.moveMove in Find in All Tabsdelta, whole number↑ (up), delta = -1, while search.find-all.focused; ↓ (down), delta = 1, while search.find-all.focused
search.nextFind Next⌘G (cmd+g)
search.openFind…text, text, "" by default; column, whole number, -1 by default; row, whole number, 0 by default⌘F (cmd+f)
search.previousFind Previous⇧⌘G (cmd+shift+g)

View

CommandTitleArgumentsDefault keys
app.appearance-darkDark Appearance
app.appearance-lightLight Appearance
app.appearance-systemAutomatic Appearance
app.import-themesImport Themes…
app.new-themeNew Theme from Current…theme, text, "" by default; variant, text, "" by default
app.open-themes-folderOpen Themes Folder
app.performanceShow Performance
command-palette.moveMove in the Command Palettedelta, whole number↑ (up), delta = -1, while command-palette.focused; ↓ (down), delta = 1, while command-palette.focused
command-palette.openCommand Palette…⇧⌘P (cmd+shift+p)
command-palette.themeChoose Theme…
font.biggerBigger⌘= (cmd+=); ⌘+ (cmd++)
font.resetDefault Size⌘0 (cmd+0)
font.smallerSmaller⌘- (cmd+-)
links.hintsShow Hintsaction, text, "open" by default⇧⌘E (cmd+shift+e)
links.hints-actionNext Hint Actiondelta, whole numberTab (tab), delta = 1, while links.focused; ⇧Tab (shift+tab), delta = -1, while links.focused
links.openOpen Linkcolumn, whole number; row, whole number⌘-click (cmd+click)
pane.prompt-nextJump to Next Prompt⌘↓ (cmd+down)
pane.prompt-previousJump to Previous Prompt⌘↑ (cmd+up)
pane.scroll-bottomScroll to the Bottom⌘End (cmd+end)
pane.scroll-line-downScroll Down a Line⇧⌘↓ (cmd+shift+down)
pane.scroll-line-upScroll Up a Line⇧⌘↑ (cmd+shift+up)
pane.scroll-page-downScroll Down a Page⌘Page Down (cmd+pagedown); ⇧Page Down (shift+pagedown)
pane.scroll-page-upScroll Up a Page⌘Page Up (cmd+pageup); ⇧Page Up (shift+pageup)
pane.scroll-topScroll to the Top⌘Home (cmd+home)
window.toggle-cursor-guideShow Cursor Guide⌥⌘; (cmd+alt+;)
window.toggle-opacityUse Transparency⌘U (cmd+u)

See also