File Explorer
Ki's file explorer is rendered using YAML, for example:
- 📂 docs/:
- 🙈 .gitignore
- 📁 book/:
- 📄 book.toml
- 📂 src/:
- 📚 SUMMARY.md
- 📂 components/:
- 📚 file-explorer.md
- 📚 index.md
- 📚 configurations.md
- 📚 core-concepts.md
- 📚 features.md
- 📁 insert-mode/:
- 📚 installation.md
- 📚 modes.md
- 📁 normal-mode/:
- 📁 selection-modes/:
- 📚 themes.md
- 📚 universal-keybindings.md
- 📚 dummy-todo.md
- 📁 event/:
- 📁 grammar/:
- 📄 justfile
Keymap
Loading...
Meanings
Label | Action |
---|---|
Add Path | Add a new file/folder under the current path 1 |
Dup path | Duplicate current file to a new path |
Delete Path | Delete current file/folder |
Move Path | Move (or rename) the current file/folder 2 |
Refresh | Refresh the file explorer 3 |
Other keybinding
enter
is override to mean:
- Expand/collapse folder OR
- Open file
Tips
Because the File Explorer is just a YAML file, the following actions are free1:
Action | How? |
---|---|
Go to parent folder | Use [a j ]4 |
Go to first/last file in current folder | Use First/Last with Syntax Node |
Go to next/previous file/folder at current level, skipping expanded children | Use Left/Right with Syntax Node |
Footnotes
-
To add a folder, append
/
to the file name. Can be nested, and new directories will be created as required. ↩ ↩2 -
Works like
mkdir -p
, it will create new directories when required. ↩ -
This is necessary sometimes because the file system is modified by external factors, and Ki does not watch for file changes. ↩
-
Free as in no extra implementations required ↩