summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorBrian Callahan <bcallah@cvs.openbsd.org>2018-05-28 01:53:35 +0000
committerBrian Callahan <bcallah@cvs.openbsd.org>2018-05-28 01:53:35 +0000
commit49281c127eb29bc31b40aa94b930011cfcf0b21d (patch)
tree93fef5bb18d27f3d7840357dba7704737b176ace /usr.bin
parentaaec78db293005e7553123bffcb45e8da2580188 (diff)
Mention column-number-mode in the tutorial to clear up a potentially
confusing description of L and C in the mode line. Prompted by an email on tech@ by Leonid Bobrov <mazocomp () disroot ! org> Co-written by myself and florian@, ok florian@
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/mg/tutorial12
1 files changed, 7 insertions, 5 deletions
diff --git a/usr.bin/mg/tutorial b/usr.bin/mg/tutorial
index f015d10cd60..6897b1c9102 100644
--- a/usr.bin/mg/tutorial
+++ b/usr.bin/mg/tutorial
@@ -218,10 +218,12 @@ you're editing a file named "tutorial". If you've edited this file and not
saved it, it should have a "**" to the left of those words. If this file is
read-only, you should see a "%%" to the left of those words.
-To the right of the status line, you should see L followed by digits and C
-followed by some more digits. These indicate the line number and column number
-of the file that your cursor is currently on. If you move the cursor around,
-you should see the line and column number change.
+To the right of the status line, you should see L followed by digits
+and, if column-number-mode is enabled, C followed by some more digits.
+Type M-x column-number-mode Enter to enable it if it is disabled (the
+default). These indicate the line number and column number of the file
+that your cursor is currently on. If you move the cursor around, you
+should see the line and column number change.
In the middle of the screen, you should see the word "(fundamental)" which
indicates that the current editing mode is "fundamental-mode". The mg editor
@@ -346,7 +348,7 @@ Author Info
-----------
Original Author of this document: Mayukh Bose,
-Date last updated: 2015-12-21
+Date last updated: 2018-05-27
Copyright
---------