Skip to main content

Space Menu

The space menu is a handy shortcut for (not restricted to):

  • Contextual actions
  • File and quit actions
  • Searching files/symbols
  • Multi-cursor management
  • Opening other components

The space menu can be brought up by pressing space.

Contextual actions

Contextual actions are actions that are only applicable within a specific context.

File and quit actions

KeybindingAction
spaceWrite current file, even if no changes were made
wWrite all files
qWrite all files and quit
QQuit without writing unsaved files

LSP Actions (only applicable in the main editor):

KeybindingAction
cRequest code actions
hRequest hover info
rRename current symbol

File Explorer Actions:

KeybindingAction
aAdd a new file/folder under the current path 1
cCopy current file to a new path
dDelete current file/folder
mMove (or rename) the current file/folder 2
rRefresh the file explorer 3

Pickers

KeybindingObject
bBuffers (opened files)
fFiles (Not git ignored)
gGit status (against current branch) 1
GGit status (against main branch) 2
sLSP Symbols
tThemes

Searching is powered by Helix's Nucleo, and some fzf-esque search syntax works here:

TokenDescription
sbtItems that match sbt, for example serbian-bear-tinker
'wildItems that must include wild
.mp3$Items that end with .mp3

Search terms can be separated by space, which means AND, and their order is unimportant.

For example, the search query stb 'wild matches wild-serbian-bear-tiger and also stubbornly_wild.

Because every component is a buffer/editor, fuzzy search logic is also used for filtering LSP completions.

Opening other components

KeybindingAction
eReveal current file in file explorer
zOpens the Undo Tree 1

Picking themes

See more at Themes

Footnotes

  1. To add a folder, append / to the file name. Can be nested, and new directories will be created as required. 2 3

  2. Works like mkdir -p, it will create new directories when required. 2

  3. This is necessary sometimes because the file system is modified by external factors, and Ki does not watch for file changes.