aboutsummaryrefslogtreecommitdiff
path: root/book
diff options
context:
space:
mode:
authorJJ2023-11-01 00:37:26 +0000
committerJJ2023-11-01 04:08:32 +0000
commit5c371208692df2727d02a37646b7829f011680a8 (patch)
tree5f6cce3547e367942746ceb6499018628297a595 /book
parentf6021dd0cdd8cf6795f024e396241cb0af2ca368 (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: wongjiahau <hou32hou@gmail.com>
Diffstat (limited to 'book')
-rw-r--r--book/src/configuration.md10
-rw-r--r--book/src/keymap.md5
2 files changed, 15 insertions, 0 deletions
diff --git a/book/src/configuration.md b/book/src/configuration.md
index 3b78481e..d223b6e9 100644
--- a/book/src/configuration.md
+++ b/book/src/configuration.md
@@ -350,6 +350,16 @@ max-indent-retain = 0
wrap-indicator = "" # set wrap-indicator to "" to hide it
```
+### `[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` |
+
+
### `[editor.smart-tab]` Section
diff --git a/book/src/keymap.md b/book/src/keymap.md
index 0f41b324..82910fe3 100644
--- a/book/src/keymap.md
+++ b/book/src/keymap.md
@@ -296,6 +296,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.
@@ -452,3 +453,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.