]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(tutor): Reformat tutor1
authorKen Takata <kentkt@csc.jp>
Thu, 19 Dec 2024 19:03:10 +0000 (20:03 +0100)
committerChristian Brabandt <cb@256bit.org>
Thu, 19 Dec 2024 19:03:10 +0000 (20:03 +0100)
* Fix lesson number.
* Fold a long line.
* Adjust newlines.

  It seems that each lesson is written in 23 lines to fit the 80x25
  monitor.

closes: #16253

Signed-off-by: Ken Takata <kentkt@csc.jp>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/tutor/tutor1
runtime/tutor/tutor1.utf-8

index 5d1483c06f6be5a550e320a40753db96783a9504..04b490f0c9066b2f980a34f0998480f069750b8e 100644 (file)
@@ -19,9 +19,8 @@
      use.  That means that you need to execute the commands to learn them
      properly.  If you only read the text, you will forget the commands!
      Now, make sure that your Caps-Lock key is NOT depressed and press
-     the   j   key enough times to move the cursor so that lesson 1.1
+     the   j   key enough times to move the cursor so that lesson 1.1.1
      completely fills the screen.
-
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                        Lesson 1.1.1:  MOVING THE CURSOR
 
@@ -321,7 +320,6 @@ NOTE:  Pressing just the motion while in Normal mode without an operator will
 --->  7)  And so are you.
 
 Doubling to operate on a line also works for operators mentioned below.
-
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                         Lesson 1.2.7: THE UNDO COMMAND
 
@@ -785,7 +783,6 @@ NOTE:  Replace mode is like Insert mode, but every typed character deletes an
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                        Lesson 1.6.4: COPY AND PASTE TEXT
 
-
          ** Use the  y  operator to copy text and  p  to paste it **
 
   1. Move to the line below marked ---> and place the cursor after "a)".
@@ -946,7 +943,8 @@ NOTE:  Completion works for many commands.  Just try pressing CTRL-D and
 
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
-  This concludes Chapter 1 of the Vim Tutor.  Consider continuing with Chapter 2.
+  This concludes Chapter 1 of the Vim Tutor.  Consider continuing with
+  Chapter 2.
 
   It was intended to give a brief overview of the Vim editor, just enough to
   allow you to use the editor fairly easily. It is far from complete as Vim
index 5d1483c06f6be5a550e320a40753db96783a9504..04b490f0c9066b2f980a34f0998480f069750b8e 100644 (file)
@@ -19,9 +19,8 @@
      use.  That means that you need to execute the commands to learn them
      properly.  If you only read the text, you will forget the commands!
      Now, make sure that your Caps-Lock key is NOT depressed and press
-     the   j   key enough times to move the cursor so that lesson 1.1
+     the   j   key enough times to move the cursor so that lesson 1.1.1
      completely fills the screen.
-
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                        Lesson 1.1.1:  MOVING THE CURSOR
 
@@ -321,7 +320,6 @@ NOTE:  Pressing just the motion while in Normal mode without an operator will
 --->  7)  And so are you.
 
 Doubling to operate on a line also works for operators mentioned below.
-
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                         Lesson 1.2.7: THE UNDO COMMAND
 
@@ -785,7 +783,6 @@ NOTE:  Replace mode is like Insert mode, but every typed character deletes an
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                        Lesson 1.6.4: COPY AND PASTE TEXT
 
-
          ** Use the  y  operator to copy text and  p  to paste it **
 
   1. Move to the line below marked ---> and place the cursor after "a)".
@@ -946,7 +943,8 @@ NOTE:  Completion works for many commands.  Just try pressing CTRL-D and
 
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
-  This concludes Chapter 1 of the Vim Tutor.  Consider continuing with Chapter 2.
+  This concludes Chapter 1 of the Vim Tutor.  Consider continuing with
+  Chapter 2.
 
   It was intended to give a brief overview of the Vim editor, just enough to
   allow you to use the editor fairly easily. It is far from complete as Vim