aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--book/src/usage.md2
-rw-r--r--helix-term/src/application.rs2
-rw-r--r--helix-term/src/commands/typed.rs2
-rw-r--r--runtime/tutor (renamed from runtime/tutor.txt)0
4 files changed, 3 insertions, 3 deletions
diff --git a/book/src/usage.md b/book/src/usage.md
index ba631b62..164ae267 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) (accessible via `hx --tutor` or `:tutor`) for a vimtutor-like introduction.
+See [tutor](https://github.com/helix-editor/helix/blob/master/runtime/tutor) (accessible via `hx --tutor` or `:tutor`) for a vimtutor-like introduction.
## Registers
diff --git a/helix-term/src/application.rs b/helix-term/src/application.rs
index ec698321..7ee5b7f1 100644
--- a/helix-term/src/application.rs
+++ b/helix-term/src/application.rs
@@ -157,7 +157,7 @@ impl Application {
compositor.push(editor_view);
if args.load_tutor {
- let path = helix_loader::runtime_dir().join("tutor.txt");
+ let path = helix_loader::runtime_dir().join("tutor");
editor.open(&path, Action::VerticalSplit)?;
// Unset path to prevent accidentally saving to the original tutor file.
doc_mut!(editor).set_path(None)?;
diff --git a/helix-term/src/commands/typed.rs b/helix-term/src/commands/typed.rs
index 674ce7a6..c22f8712 100644
--- a/helix-term/src/commands/typed.rs
+++ b/helix-term/src/commands/typed.rs
@@ -1147,7 +1147,7 @@ fn tutor(
return Ok(());
}
- let path = helix_loader::runtime_dir().join("tutor.txt");
+ let path = helix_loader::runtime_dir().join("tutor");
cx.editor.open(&path, Action::Replace)?;
// Unset path to prevent accidentally saving to the original tutor file.
doc_mut!(cx.editor).set_path(None)?;
diff --git a/runtime/tutor.txt b/runtime/tutor
index 4a6c4425..4a6c4425 100644
--- a/runtime/tutor.txt
+++ b/runtime/tutor