diff options
author | Omnikar | 2021-10-28 01:23:46 +0000 |
---|---|---|
committer | GitHub | 2021-10-28 01:23:46 +0000 |
commit | e2ed6915373adf27881325ebc4e2c6b98e207af3 (patch) | |
tree | 85c89248d6ff0cc76f52f7edfed9495fb8cd2da9 /book/src | |
parent | 3b0c5e993a18a2d59582855784189995c7960d6f (diff) |
Implement `hx --tutor` and `:tutor` to load `tutor.txt` (#898)
* Implement `hx --tutor` and `:tutor` to load `tutor.txt`
* Document `hx --tutor` and `:tutor`
* Change `Document::set_path` to take an `Option`
* `Document::set_path` accepts an `Option<&Path>` instead of `&Path`.
* Remove `Editor::open_tutor` and make tutor-open functionality use
`Editor::open` and `Document::set_path`.
* Use `PathBuf::join`
Co-authored-by: Ivan Tham <pickfire@riseup.net>
* Add comments explaining unsetting tutor path
Co-authored-by: Ivan Tham <pickfire@riseup.net>
Diffstat (limited to 'book/src')
-rw-r--r-- | book/src/usage.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/book/src/usage.md b/book/src/usage.md index d31e03a1..71730fa8 100644 --- a/book/src/usage.md +++ b/book/src/usage.md @@ -2,7 +2,7 @@ (Currently not fully documented, see the [keymappings](./keymap.md) list for more.) -See [tutor.txt](https://github.com/helix-editor/helix/blob/master/runtime/tutor.txt) for a vimtutor-like introduction. +See [tutor.txt](https://github.com/helix-editor/helix/blob/master/runtime/tutor.txt) (accessible via `hx --tutor` or `:tutor`) for a vimtutor-like introduction. ## Registers |