Unnamed repository; edit this file 'description' to name the repository.
docs: explain tutor buffer saving and quitting (#15483)
Add a short note near the start of the tutorial clarifying that it opens in an unnamed buffer and how to quit or save it. Fixes: https://github.com/helix-editor/helix/issues/14636
Matouš Dzivjak 4 months ago
parent 8a53fdb · commit 58ba89a
-rw-r--r--runtime/tutor4
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/tutor b/runtime/tutor
index b4c2520f..e6e4fc49 100644
--- a/runtime/tutor
+++ b/runtime/tutor
@@ -35,6 +35,10 @@
CapsLock key is not pressed and hold the j key until you reach
the first lesson.
+ This tutor opens in an unnamed buffer.
+ * To quit without saving changes, use :q!.
+ * To save your changes to a file, use :w <path> and then :q.
+