Mercurial > vim
annotate runtime/doc/vimtutor.1 @ 23768:1a53383f08e5 v8.2.2425
patch 8.2.2425: cursor on invalid line with range and :substitute
Commit: https://github.com/vim/vim/commit/df2c2988bbaecd28b0fbec8d64327b1bbb005e19
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jan 28 20:18:08 2021 +0100
patch 8.2.2425: cursor on invalid line with range and :substitute
Problem: Cursor on invalid line with range and :substitute.
Solution: Do not move the cursor when skipping commands. (closes https://github.com/vim/vim/issues/3434)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 28 Jan 2021 20:30:03 +0100 |
parents | de5a43c5eedc |
children | b2e8663e6dcc |
rev | line source |
---|---|
7 | 1 .TH VIMTUTOR 1 "2001 April 2" |
2 .SH NAME | |
3 vimtutor \- the Vim tutor | |
4 .SH SYNOPSIS | |
5 .br | |
2033
de5a43c5eedc
Update documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1582
diff
changeset
|
6 .B vimtutor [\-g] [language] |
7 | 7 .SH DESCRIPTION |
8 .B Vimtutor | |
9 starts the | |
10 .B Vim | |
11 tutor. | |
12 It copies the tutor file first, so that it can be modified without changing | |
13 the original file. | |
14 .PP | |
15 The | |
16 .B Vimtutor | |
17 is useful for people that want to learn their first | |
18 .B Vim | |
19 commands. | |
20 .PP | |
2033
de5a43c5eedc
Update documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1582
diff
changeset
|
21 The optional argument \-g starts vimtutor with gvim rather than vim, if the |
1582 | 22 GUI version of vim is available, or falls back to Vim if gvim is not found. |
23 .PP | |
7 | 24 The optional [language] argument is the two-letter name of a language, like |
25 "it" or "es". | |
26 If the [language] argument is missing, the language of the current locale will | |
27 be used. | |
28 If a tutor in this language is available, it will be used. | |
29 Otherwise the English version will be used. | |
30 .PP | |
31 .B Vim | |
32 is always started in Vi compatible mode. | |
33 .SH FILES | |
34 .TP 15 | |
35 /usr/local/lib/vim/tutor/tutor[.language] | |
36 The | |
37 .B Vimtutor | |
38 text file(s). | |
39 .TP 15 | |
40 /usr/local/lib/vim/tutor/tutor.vim | |
41 The Vim script used to copy the | |
42 .B Vimtutor | |
43 text file. | |
44 .SH AUTHOR | |
45 The | |
46 .B Vimtutor | |
47 was originally written for Vi by Michael C. Pierce and Robert K. Ware, | |
48 Colorado School of Mines using ideas supplied by Charles Smith, | |
49 Colorado State University. | |
50 E-mail: bware@mines.colorado.edu. | |
51 .br | |
52 It was modified for | |
53 .B Vim | |
54 by Bram Moolenaar. | |
55 For the names of the translators see the tutor files. | |
56 .SH SEE ALSO | |
57 vim(1) |