summaryrefslogtreecommitdiff
path: root/book
diff options
context:
space:
mode:
authorwongjiahau2024-05-01 20:42:31 +0000
committerJJ2024-05-01 23:06:08 +0000
commit3bff36ab90aba7de8bb5bff7dbb8230d81cdf582 (patch)
tree733bdb4ff30a35c2212910d48a635ddf4c23b2e3 /book
parent2cadec0b1182332338a5a1cc3062776f834d8835 (diff)
Add file explorer and tree helper
ref: https://github.com/helix-editor/helix/issues/200 ref: https://github.com/helix-editor/helix/pull/2377 ref: https://github.com/helix-editor/helix/pull/5566 ref: https://github.com/helix-editor/helix/pull/5768 Co-authored-by: cossonleo <cossonleo@foxmail.com> Co-authored-by: JJ <git@toki.la> Co-authored-by: Quan Tong <quantonganh@gmail.com>
Diffstat (limited to 'book')
-rw-r--r--book/src/configuration.md9
-rw-r--r--book/src/keymap.md5
2 files changed, 14 insertions, 0 deletions
diff --git a/book/src/configuration.md b/book/src/configuration.md
index 5e22cebf..e3dbce95 100644
--- a/book/src/configuration.md
+++ b/book/src/configuration.md
@@ -402,3 +402,12 @@ S-tab = "move_parent_node_start"
tab = "extend_parent_node_end"
S-tab = "extend_parent_node_start"
```
+
+### `[editor.explorer]` Section
+
+Sets explorer side width and style.
+
+| Key | Description | Default |
+| -------------- | ------------------------------------------- | ------- |
+| `column-width` | explorer side width | 30 |
+| `position` | explorer widget position, `left` or `right` | `left` |
diff --git a/book/src/keymap.md b/book/src/keymap.md
index 3a5ccca5..52c179f5 100644
--- a/book/src/keymap.md
+++ b/book/src/keymap.md
@@ -301,6 +301,7 @@ This layer is a kludge of mappings, mostly pickers.
| `R` | Replace selections by clipboard contents | `replace_selections_with_clipboard` |
| `/` | Global search in workspace folder | `global_search` |
| `?` | Open command palette | `command_palette` |
+| `e` | Reveal current file in explorer | `reveal_current_file` |
> 💡 Global search displays results in a fuzzy picker, use `Space + '` to bring it back up after opening a file.
@@ -457,3 +458,7 @@ Keys to use within prompt, Remapping currently not supported.
| `Tab` | Select next completion item |
| `BackTab` | Select previous completion item |
| `Enter` | Open selected |
+
+## File explorer
+
+Press `?` to see keymaps. Remapping currently not supported.