annotate runtime/doc/vimtutor.man @ 34434:89f9a7925fff v9.1.0138

patch 9.1.0138: too many STRLEN calls when getting a memline Commit: https://github.com/vim/vim/commit/02d7a6c6cfceb3faf9c98fcb7c458760cd50d269 Author: John Marriott <basilisk@internode.on.net> Date: Mon Feb 26 21:21:17 2024 +0100 patch 9.1.0138: too many STRLEN calls when getting a memline Problem: too many STRLEN calls when getting a memline Solution: Optimize calls to STRLEN(), add a few functions in memline.c that return the byte length instead of relying on STRLEN() (John Marriott) closes: #14052 Signed-off-by: John Marriott <basilisk@internode.on.net> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Mon, 26 Feb 2024 21:30:03 +0100
parents b2e8663e6dcc
children 4a958ef2dc5e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
32294
b2e8663e6dcc Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 2033
diff changeset
1 VIMTUTOR(1) General Commands Manual VIMTUTOR(1)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 NAME
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 vimtutor - the Vim tutor
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 SYNOPSIS
1621
82b5078be2dd updated for version 7.2a
vimboss
parents: 15
diff changeset
9 vimtutor [-g] [language]
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 DESCRIPTION
15
631143ac4a01 updated for version 7.0007
vimboss
parents: 7
diff changeset
12 Vimtutor starts the Vim tutor. It copies the tutor file first, so that
631143ac4a01 updated for version 7.0007
vimboss
parents: 7
diff changeset
13 it can be modified without changing the original file.
631143ac4a01 updated for version 7.0007
vimboss
parents: 7
diff changeset
14
631143ac4a01 updated for version 7.0007
vimboss
parents: 7
diff changeset
15 The Vimtutor is useful for people that want to learn their first Vim
631143ac4a01 updated for version 7.0007
vimboss
parents: 7
diff changeset
16 commands.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17
1621
82b5078be2dd updated for version 7.2a
vimboss
parents: 15
diff changeset
18 The optional argument -g starts vimtutor with gvim rather than vim, if
82b5078be2dd updated for version 7.2a
vimboss
parents: 15
diff changeset
19 the GUI version of vim is available, or falls back to Vim if gvim is
82b5078be2dd updated for version 7.2a
vimboss
parents: 15
diff changeset
20 not found.
82b5078be2dd updated for version 7.2a
vimboss
parents: 15
diff changeset
21
15
631143ac4a01 updated for version 7.0007
vimboss
parents: 7
diff changeset
22 The optional [language] argument is the two-letter name of a language,
631143ac4a01 updated for version 7.0007
vimboss
parents: 7
diff changeset
23 like "it" or "es". If the [language] argument is missing, the language
631143ac4a01 updated for version 7.0007
vimboss
parents: 7
diff changeset
24 of the current locale will be used. If a tutor in this language is
631143ac4a01 updated for version 7.0007
vimboss
parents: 7
diff changeset
25 available, it will be used. Otherwise the English version will be
631143ac4a01 updated for version 7.0007
vimboss
parents: 7
diff changeset
26 used.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 Vim is always started in Vi compatible mode.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 FILES
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 /usr/local/lib/vim/tutor/tutor[.language]
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 The Vimtutor text file(s).
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 /usr/local/lib/vim/tutor/tutor.vim
15
631143ac4a01 updated for version 7.0007
vimboss
parents: 7
diff changeset
35 The Vim script used to copy the Vimtutor text file.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 AUTHOR
15
631143ac4a01 updated for version 7.0007
vimboss
parents: 7
diff changeset
38 The Vimtutor was originally written for Vi by Michael C. Pierce and
631143ac4a01 updated for version 7.0007
vimboss
parents: 7
diff changeset
39 Robert K. Ware, Colorado School of Mines using ideas supplied by
2033
de5a43c5eedc Update documentation files.
Bram Moolenaar <bram@zimbu.org>
parents: 1621
diff changeset
40 Charles Smith, Colorado State University. E-mail: bware@mines.col‐
32294
b2e8663e6dcc Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 2033
diff changeset
41 orado.edu (now invalid).
2033
de5a43c5eedc Update documentation files.
Bram Moolenaar <bram@zimbu.org>
parents: 1621
diff changeset
42 It was modified for Vim by Bram Moolenaar. For the names of the trans‐
15
631143ac4a01 updated for version 7.0007
vimboss
parents: 7
diff changeset
43 lators see the tutor files.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 SEE ALSO
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 vim(1)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49
15
631143ac4a01 updated for version 7.0007
vimboss
parents: 7
diff changeset
50 2001 April 2 VIMTUTOR(1)