Space Menu
The space menu is a handy shortcut for (not restricted to):
- Contextual 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.
LSP Actions (only applicable in the main editor):
Keybinding | Action |
---|---|
c | Request code actions |
h | Request hover info |
r | Rename current symbol |
File Explorer Actions:
Keybinding | Action |
---|---|
a | Add a new file/folder under the current path 1 |
d | Delete current file/folder |
m | Move (or rename) the current file/folder 2 |
r | Refresh the file explorer 3 |
Pickers
Keybinding | Object |
---|---|
b | Buffers (opened files) |
f | Files (Not git ignored) |
g | Git status (against current branch) 1 |
G | Git status (against main branch) 2 |
s | LSP Symbols |
t | Themes |
Searching is powered by Helix's Nucleo, and some fzf-esque search syntax works here:
Token | Description |
---|---|
sbt | Items that match sbt , for example serbian-bear-tinker |
'wild | Items 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
Keybinding | Action |
---|---|
e | Reveal current file in file explorer |
z | Opens the Undo Tree 1 |
Picking themes
See more at Themes
Footnotes
-
To add a folder, append
/
to the file name. Can be nested, and new directories will be created as required. ↩ ↩2 ↩3 -
Works like
mkdir -p
, it will create new directories when required. ↩ ↩2 -
This is necessary sometimes because the file system is modified by external factors, and Ki does not watch for file changes. ↩